Akito S. M. Hosana
Jr. Member

Activity: 462
Merit: 8
|
 |
April 04, 2025, 09:37:34 AM Last edit: April 04, 2025, 11:43:09 AM by Akito S. M. Hosana |
|
But if you had to choose between 2,000 and 30 GPUs, which would you choose first?
Do you have the SOTA Mutagen script for GPUs? Otherwise, it's all just blah-blah-blah...  Has anyone been on ChatGPT recently? Now he's in full idiotic mode. It's useless. 
|
|
|
|
|
|
kTimesG
|
 |
April 04, 2025, 12:02:08 PM |
|
why it is more efficient than bruteforcing.
Because you need to go through a maximum of 28453041475240576740 combinations to solve puzzle 68. It's not more efficient on the CPU. But if you had to choose between 2,000 and 30 GPUs, which would you choose first? I don't really understand what you mean by that. First of all, aren't there 67 unknown bits in puzzle 68? Your number is comb(68, 34), when it should be something like comb(67, 34). Next, let's assume you nailed it and the jackpot is flipping bits from one of the comb(67, 34) patterns. This means you need to hash from a private key (I do not see any way to bypass this part, because you have some "randomly" 34 bits key that you xor/whatever with some static key). Now, let's assume that creating a public key from a private key is 50 times slower than incrementing a public key by a known constant (like, maybe, G). This "50 times slower", bear in mind, includes speedups like precomputed windows for fast multiplication of a scalar with the generator point. Let's compare the expected gain in solving (flips versus full scan): comb(67, 34) * 50 / 2**67 Result: 4.820132715824374 slower. Did I miss anything obvious? I cannot see how would anyone be able to claim this as being faster, unless there's some way to go from private -> public much faster than doing an EC multiplication every time, for every flips combination.
|
|
|
|
Bram24732
Member


Activity: 336
Merit: 40
|
 |
April 04, 2025, 01:17:54 PM |
|
Did I miss anything obvious? I cannot see how would anyone be able to claim this as being faster, unless there's some way to go from private -> public much faster than doing an EC multiplication every time, for every flips combination.
You didn't miss anything. It's basically giving up the huge advantage of a continuous space for no reason. Also you don't only need to do it for 34, but also every other number between 0 and 67.
|
I solved 67 and 68 using custom software distributing the load across ~25k GPUs. 4090 stocks speeds : ~8.1Bkeys/sec. Don’t challenge me technically if you know shit about fuck, I’ll ignore you. Same goes if all you can do is LLM reply.
|
|
|
Akito S. M. Hosana
Jr. Member

Activity: 462
Merit: 8
|
 |
April 04, 2025, 01:24:25 PM Last edit: April 04, 2025, 01:38:15 PM by Akito S. M. Hosana |
|
HyperMutagen gnerator: import sys import math import random import secp256k1 as ice from multiprocessing import Pool, cpu_count from functools import lru_cache from itertools import islice, groupby from collections import deque import numpy as np
class OptimizedPuzzleSolver: def __init__(self): self.known_masks = { 67: 0b1100111100000011110111001010001111100110101111010011111001010001, 66: 0b10111110011010001001010001011000011010100101000011100101000010001, 65: 0b101011111000111010011101100101011111010010011011001011110011000, 64: 0b100011111010111000001101100001001111011011101110110100101011, 63: 0b1100110001101000010000001001010011001100001001011111110111, 62: 0b100111000010101010111110000101001001111011100101010000010001, 61: 0b110000110110100101011100100010111101000010011011011011111001, 60: 0b111111100001011110011111011010110010011000010001000001, 59: 0b10110110100100110100010001111000001101010100101110110000, 58: 0b100111001100010100100011110101101111001110110010111011110, 57: 0b10100110110100011011011111000011010100010100111100011, 56: 0b1100010111001110100100111000101001110110000000000100000, 55: 0b10101010000011110000001100100100110000001111011101011, 54: 0b11100100100000100100100101010010100101110000010111100, 53: 0b111111110000111011100011011100000011100110110010011, 52: 0b1000001010001111010011011001101000110000111000011, 51: 0b101011111000111101011110010111111111011000101011, 50: 0b1110101000010101111000011110100010110110010101011, 49: 0b100010111110100010010100111111101010000010110010, 48: 0b10100100001100100101000001100011100010001100100, 47: 0b100110010100111101111010010101100001101000101, 46: 0b100010011111001111100011101110010101010111011, 45: 0b11011101000000110101111010111100001111111010, 44: 0b11111110101001100101001011100101001110000, 43: 0b10100001011000100110110000011101001101110, 42: 0b10101110111011110001110100111001001110000, 41: 0b1010110001111001011001010011001110100100, 40: 0b1011001010001101101101100110000101001, 39: 0b11010010100000011111001111110000010110, 38: 0b1110111000111110100000101001100101111, 37: 0b100010101000100010101001010101101100, 36: 0b11000100001011111011111010110000011, 35: 0b1101010001001011011110111010001111, 34: 0b10110101100110100110111011100010, 33: 0b1010110100100110101011100100111, 32: 0b1000111100111010101100111010001, 31: 0b10101100000001100010111000, 30: 0b10011010110011001010011011, 29: 0b1000000111011010101011100001, 28: 0b10011011101001001100010111, 27: 0b1010100111100011110001010, 26: 0b101111111100110110010001, 25: 0b1011010000100011010, 24: 0b1000111101010111111011, 23: 0b1010101001000110101101, 22: 0b100100001101111110000, 21: 0b1000101101011001011, 20: 0b101101001110101010, 19: 0b101000101101100000, 18: 0b1111011111110010, 17: 0b1000100110110000, 16: 0b11011011001001, 15: 0b1011100001100, 14: 0b1011011001111, 13: 0b101110011111, 12: 0b10110000100, 11: 0b1101111100, 10: 0b111111101, 9: 0b101100, 8: 0b11111, 7: 0b110011, 6: 0b1110, 5: 0b1010, 4: 0b111, 3: 0b0, 2: 0b0, 1: 0b0 } # Optimization parameters self.batch_size = 1000 self.batch_size_min = 1000 self.batch_size_max = 10000 self.max_variations = 10000 self.early_stop_threshold = 10000 self.restart_count = 0 # Precomputed patterns and statistics self.mask_analysis = self._analyze_all_masks() self.common_segments = self._extract_common_segments()
def _generate_pattern(self, length): """Generate a pseudo-random but deterministic pattern for a given length""" # Seed with length for deterministic generation random.seed(length) pattern = 0 for i in range(length): # Alternate between different densities if i % 4 == 0: prob = 0.6 elif i % 3 == 0: prob = 0.4 else: prob = 0.5 bit = 1 if random.random() < prob else 0 pattern = (pattern << 1) | bit return pattern
def _analyze_all_masks(self): analysis = {} for p, mask in self.known_masks.items(): bin_str = bin(mask)[2:].zfill(p) transitions = sum(1 for a, b in zip(bin_str, bin_str[1:]) if a != b) analysis[p] = { 'length': p, 'density': bin_str.count('1') / p, 'transitions': transitions, 'entropy': self._calculate_entropy(bin_str), 'leading_8': bin_str[:8], 'trailing_8': bin_str[-8:], 'common_8': max(set(bin_str[i:i+8] for i in range(0, p-7)), key=lambda x: bin_str.count(x)) if p >= 8 else None } return analysis
def _calculate_entropy(self, binary_str): counts = {} for c in binary_str: counts[c] = counts.get(c, 0) + 1 probs = [v/len(binary_str) for v in counts.values()] return -sum(p * math.log2(p) for p in probs)
def _extract_common_segments(self): segment_counts = {} for p, mask in self.known_masks.items(): bin_str = bin(mask)[2:].zfill(p) for length in [4, 8, 16]: for i in range(0, len(bin_str)-length+1): segment = bin_str[i:i+length] segment_counts[segment] = segment_counts.get(segment, 0) + 1 return sorted(segment_counts.items(), key=lambda x: -x[1])[:100]
def set_target(self, puzzle_number, target_address): self.puzzle_number = puzzle_number self.target_address = target_address self.puzzle_end = (1 << puzzle_number) - 1 self.best_candidate = None self.best_score = -1
@lru_cache(maxsize=1000000) def generate_address(self, private_key_int): return ice.privatekey_to_address(0, True, private_key_int)
def _score_candidate(self, candidate): bin_str = bin(candidate)[2:].zfill(self.puzzle_number) score = 0 # 1. Check segment commonality for segment, count in self.common_segments: score += bin_str.count(segment) * count * 0.1 # 2. Check density similarity density = bin_str.count('1') / self.puzzle_number nearest_p = min(self.known_masks.keys(), key=lambda x: abs(x - self.puzzle_number)) target_density = self.mask_analysis[nearest_p]['density'] score += 1.0 - abs(density - target_density) # 3. Check transition count similarity transitions = sum(1 for a, b in zip(bin_str, bin_str[1:]) if a != b) target_trans = self.mask_analysis[nearest_p]['transitions'] norm_trans = transitions / self.puzzle_number target_norm = target_trans / nearest_p score += 1.0 - abs(norm_trans - target_norm) # 4. Check run lengths runs = [len(list(g)) for _, g in groupby(bin_str)] avg_run = sum(runs)/len(runs) score += 1.0 - min(1.0, abs(avg_run - 2.5)/2.5) # 5. Check sub-pattern matches for p in range(max(2, self.puzzle_number-5), min(self.puzzle_number+1, 35)): if p in self.known_masks: other_str = bin(self.known_masks[p])[2:] overlap = min(len(bin_str), len(other_str)) matches = sum(1 for a,b in zip(bin_str[:overlap], other_str[:overlap]) if a == b) score += matches/overlap * 0.5 return score
def _generate_educated_candidates(self): # Strategy 1: Extend nearest known mask nearest_p = max(p for p in self.known_masks.keys() if p < self.puzzle_number) base_mask = self.known_masks[nearest_p] bits_to_add = self.puzzle_number - nearest_p common_pads = [pat for pat, cnt in self.common_segments if len(pat) <= bits_to_add] for pad in common_pads[:10]: padded_mask = (base_mask << len(pad)) | int(pad, 2) yield padded_mask # Strategy 2: Combine high-score segments top_segments = [s for s, cnt in self.common_segments if len(s) >= 8] for i in range(min(100, len(top_segments))): for j in range(min(100, len(top_segments))): combined = (int(top_segments[i], 2) << len(top_segments[j])) | int(top_segments[j], 2) if combined.bit_length() <= self.puzzle_number: yield combined # Strategy 3: Mutate best known masks best_masks = sorted(self.known_masks.items(), key=lambda x: abs(x[0] - self.puzzle_number))[:5] for p, mask in best_masks: for flip_pos in range(0, min(32, self.puzzle_number), 4): yield mask ^ (1 << flip_pos) # Strategy 4: Pattern interpolation smaller_mask = self.known_masks.get(self.puzzle_number - 1, 0) larger_mask = self.known_masks.get(self.puzzle_number + 1, 0) if smaller_mask and larger_mask: interpolated = (smaller_mask + larger_mask) // 2 yield interpolated # Strategy 5: Add diversity when stuck if self.best_score > 500 and not hasattr(self, '_added_diversity'): common_patterns = ['10101010', '11001100', '11110000'] for pattern in common_patterns: repeated = int((pattern * (self.puzzle_number//len(pattern)+1))[:self.puzzle_number], 2) if self.best_candidate: yield self.best_candidate ^ repeated if self.best_candidate: yield int(bin(self.best_candidate)[2:].zfill(self.puzzle_number)[::-1], 2) self._added_diversity = True
def _generate_random_candidates(self): nearest_p = min(self.known_masks.keys(), key=lambda x: abs(x - self.puzzle_number)) target_density = self.mask_analysis[nearest_p]['density'] while True: rand_mask = 0 for _ in range(self.puzzle_number): rand_mask = (rand_mask << 1) | (1 if random.random() < target_density else 0) yield rand_mask
def generate_candidates(self): educated = self._generate_educated_candidates() random_gen = self._generate_random_candidates() for candidate in educated: yield candidate while True: for _ in range(10): yield next(random_gen) if self.best_candidate: yield self.best_candidate for i in range(10): yield self.best_candidate ^ (1 << (i % self.puzzle_number))
def verify_candidate(self, candidate): private_key = self.puzzle_end ^ candidate address = self.generate_address(private_key) score = self._score_candidate(candidate) return { 'candidate': candidate, 'private_key': private_key, 'address': address, 'score': score }
def _generate_variations(self, base_candidate): for i in range(self.max_variations): variation = base_candidate for _ in range(int(math.log2(self.puzzle_number)) + 1): flip_pos = random.randint(0, self.puzzle_number - 1) variation ^= (1 << flip_pos) yield variation shift_amount = random.randint(1, self.puzzle_number // 4) if random.random() > 0.5: yield (base_candidate << shift_amount) | (base_candidate >> (self.puzzle_number - shift_amount)) else: yield (base_candidate >> shift_amount) | (base_candidate << (self.puzzle_number - shift_amount))
def solve(self): total_tested = 0 consecutive_fails = 0 candidate_gen = self.generate_candidates() with Pool(processes=cpu_count()) as pool: while True: chunksize = max(100, self.batch_size // (cpu_count() * 10)) batch = list(islice(candidate_gen, self.batch_size)) results = pool.imap_unordered(self.verify_candidate, batch, chunksize=chunksize) for result in results: total_tested += 1 if result['score'] > self.best_score: self.best_score = result['score'] self.best_candidate = result['candidate'] consecutive_fails = 0 else: consecutive_fails += 1 if result['address'] == self.target_address: print(f"\n\nSUCCESS! Found solution for Puzzle {self.puzzle_number}:") print(f"XOR Mask: {bin(result['candidate'])[2:].zfill(self.puzzle_number)}") print(f"Private Key: {result['private_key']}") print(f"Address: {result['address']}") return True if consecutive_fails > self.early_stop_threshold: self.restart_count += 1 if self.restart_count % 3 == 0: print("\nFull reset with new random seed...") random.seed() self.best_score = -1 self.best_candidate = None print("\nRestarting search with new parameters...") consecutive_fails = 0 if random.random() < 0.3: self.batch_size = min(self.batch_size_max, int(self.batch_size * 1.5)) else: self.batch_size = max(self.batch_size_min, int(self.batch_size * 0.7)) if random.random() < 0.5 and self.best_candidate is not None: candidate_gen = self._generate_variations(self.best_candidate) else: candidate_gen = self.generate_candidates() if hasattr(self, '_added_diversity'): del self._added_diversity break if total_tested % 1000 == 0: sys.stdout.write(f"\rTested: {total_tested} | Best Score: {self.best_score:.2f} | Batch: {self.batch_size}") sys.stdout.flush()
if __name__ == "__main__": solver = OptimizedPuzzleSolver() # Example usage puzzle_num = 30 # Change to your target puzzle target_addr = "1LHtnpd8nU5VHEMkG2TMYYNUjjLc992bps" # Change to your target address solver.set_target(puzzle_num, target_addr) print(f"Starting optimized search for Puzzle {puzzle_num}...") try: if not solver.solve(): print("\nSearch completed without finding solution") except KeyboardInterrupt: print("\nSearch stopped by user") Starting optimized search for Puzzle 30... Tested: 18000 | Best Score: 381.58 | Batch: 1000 Restarting search with new parameters... Tested: 46000 | Best Score: 393.44 | Batch: 1000 Restarting search with new parameters... Tested: 56000 | Best Score: 767.28 | Batch: 1500 Full reset with new random seed... Restarting search with new parameters... Tested: 63000 | Best Score: 370.49 | Batch: 1050 SUCCESS! Found solution for Puzzle 30: XOR Mask: 000010011010110011001010011011 Private Key: 1033162084 Address: 1LHtnpd8nU5VHEMkG2TMYYNUjjLc992bps ChatGPT did this for me in 4 minutes. I am now no less of a genius, philosopher, and Digaran than everyone else here. 
|
|
|
|
|
|
pbies
|
 |
April 04, 2025, 01:29:45 PM |
|
#!/usr/bin/env python3
import datetime import os import random import sys import time from multiprocessing import Pool import secp256k1 as ice
# Configs RANGE_START = 0x80000000000000000 RANGE_END = 0xfffffffffffffffff RANGE_SIZE = 262144 TARGET_HASH = bytes.fromhex('e0b8a2baee1b77fc703455f39d51477451fc8cfc') NUM_PROCESSES = 24 PROGRESS_COUNT = 10000 CHUNK_SIZE = 1024
def log(message): timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S") formatted = f"{timestamp} {message}" print(formatted, flush=True, end='') with open('log.txt', 'a') as logfile: logfile.write(formatted) logfile.flush()
def check_key(pvk): h = ice.privatekey_to_h160(0, True, pvk) if h == TARGET_HASH: message = f"Found pvk: {hex(pvk)[2:]} | WIF: {ice.btc_pvk_to_wif(pvk, True)}\a\n" print() log(message) print('\a', end='', file=sys.stderr) return 1
def main(): os.system('cls||clear') print("Puzzle 68 random scanner") print("Scanning random addresses in an infinite loop. Press Ctrl+C to stop.\n")
keys_checked = 0 start_time = time.time()
try: with Pool(processes=NUM_PROCESSES) as pool: while True: start_range = random.randint(RANGE_START, RANGE_END - RANGE_SIZE) end_range = start_range + RANGE_SIZE current_range_str = f"{hex(start_range)[2:]}-{hex(end_range)[2:]}" for _ in pool.imap_unordered(check_key, range(start_range, end_range), chunksize=CHUNK_SIZE): keys_checked += 1 if keys_checked % PROGRESS_COUNT == 0: elapsed = time.time() - start_time rate = keys_checked / elapsed if elapsed > 0 else 0 print(f"\rKeys checked: {keys_checked:,} | Rate: {rate:.2f} keys/sec | Range: {current_range_str}", end="", flush=True) except KeyboardInterrupt: print("\n\nScanning stopped by user.") print(f"Total keys checked: {keys_checked:,}")
if __name__ == "__main__": main()
a little better, just for fun ;-) Wow! That's great! How did you do that? Can you explain? I am getting 2.22 M keys/sec!
|
BTC: bc1qmrexlspd24kevspp42uvjg7sjwm8xcf9w86h5k
|
|
|
Denevron
Newbie

Activity: 122
Merit: 0
|
 |
April 04, 2025, 01:58:54 PM |
|
Starting puzzle: 68 (68-bit) Target HASH160: e0b8a2baee...7451fc8cfc Base Key: 0x730FC235C1942C1AE Flip count: 34 Valid Key Range: 0x80000000000000000 to 0xFFFFFFFFFFFFFFFFF Total Flips: 28453041475240576740 Search divided into 1,000,000,000,000,000 random parts Using: 8 threads Progress: 0.000000% Processed: 118,000,000 Current Part: 4,147 / 1,000,000,000,000,000 Speed: 8.17 Mkeys/ss Elapsed Time: 1m 58s
Interesting implementation)
|
|
|
|
|
Denevron
Newbie

Activity: 122
Merit: 0
|
 |
April 04, 2025, 03:14:13 PM |
|
Starting puzzle: 68 (68-bit) Target HASH160: e0b8a2baee...7451fc8cfc Base Key: 0x730FC235C1942C1AE Flip count: 34 Valid Key Range: 0x80000000000000000 to 0xFFFFFFFFFFFFFFFFF Total Flips: 28453041475240576740 Search divided into 1,000,000,000,000,000 random parts Using: 8 threads Progress: 0.000000% Processed: 118,000,000 Current Part: 4,147 / 1,000,000,000,000,000 Speed: 8.17 Mkeys/ss Elapsed Time: 1m 58s
Interesting implementation) even if its random, solution can be found in 0% or never. small odd lottery ticket I understand this perfectly well 
|
|
|
|
|
papiro08
Newbie

Activity: 16
Merit: 0
|
 |
April 04, 2025, 08:01:11 PM |
|
Chatgpt hates the module import secp256k1 as ice, it freaks out when you name it 
|
|
|
|
|
Akito S. M. Hosana
Jr. Member

Activity: 462
Merit: 8
|
 |
April 04, 2025, 10:44:45 PM |
|
Is this a new trend now? Everyone is dealing with mutations? I thought I was in the wrong forum – that it was for genetics. 
|
|
|
|
|
Dom1nic
Newbie

Activity: 20
Merit: 0
|
 |
April 05, 2025, 12:12:28 AM |
|
With all this code, my coding skills went from 0 to almost 0.5 
|
|
|
|
|
Bram24732
Member


Activity: 336
Merit: 40
|
 |
April 05, 2025, 08:22:19 AM |
|
1. I still cannot understand how and why this work...can you elaborate on this please? 2. what do you mean by "At least I know that if you have the correct base key for the right bit flip? thanks
Python code: xor_masks = { 67: 0b1100111100000011110111001010001111100110101111010011111001010001, 66: 0b10111110011010001001010001011000011010100101000011100101000010001, 65: 0b101011111000111010011101100101011111010010011011001011110011000, 64: 0b100011111010111000001101100001001111011011101110110100101011, 63: 0b1100110001101000010000001001010011001100001001011111110111, 62: 0b100111000010101010111110000101001001111011100101010000010001, 61: 0b110000110110100101011100100010111101000010011011011011111001, 60: 0b111111100001011110011111011010110010011000010001000001, 59: 0b10110110100100110100010001111000001101010100101110110000, 58: 0b100111001100010100100011110101101111001110110010111011110, 57: 0b10100110110100011011011111000011010100010100111100011, 56: 0b1100010111001110100100111000101001110110000000000100000, 55: 0b10101010000011110000001100100100110000001111011101011, 54: 0b11100100100000100100100101010010100101110000010111100, 53: 0b111111110000111011100011011100000011100110110010011, 52: 0b1000001010001111010011011001101000110000111000011, 51: 0b101011111000111101011110010111111111011000101011, 50: 0b1110101000010101111000011110100010110110010101011, 49: 0b100010111110100010010100111111101010000010110010, 48: 0b10100100001100100101000001100011100010001100100, 47: 0b100110010100111101111010010101100001101000101, 46: 0b100010011111001111100011101110010101010111011, 45: 0b11011101000000110101111010111100001111111010, 44: 0b11111110101001100101001011100101001110000, 43: 0b10100001011000100110110000011101001101110, 42: 0b10101110111011110001110100111001001110000, 41: 0b1010110001111001011001010011001110100100, 40: 0b1011001010001101101101100110000101001, 39: 0b11010010100000011111001111110000010110, 38: 0b1110111000111110100000101001100101111, 37: 0b100010101000100010101001010101101100, 36: 0b11000100001011111011111010110000011, 35: 0b1101010001001011011110111010001111, 34: 0b10110101100110100110111011100010, 33: 0b1010110100100110101011100100111, 32: 0b1000111100111010101100111010001, 31: 0b10101100000001100010111000, 30: 0b10011010110011001010011011, 29: 0b1000000111011010101011100001, 28: 0b10011011101001001100010111, 27: 0b1010100111100011110001010, 26: 0b101111111100110110010001, 25: 0b1011010000100011010, 24: 0b1000111101010111111011, 23: 0b1010101001000110101101, 22: 0b100100001101111110000, 21: 0b1000101101011001011, 20: 0b101101001110101010, 19: 0b101000101101100000, 18: 0b1111011111110010, 17: 0b1000100110110000, 16: 0b11011011001001, 15: 0b1011100001100, 14: 0b1011011001111, 13: 0b101110011111, 12: 0b10110000100, 11: 0b1101111100, 10: 0b111111101, 9: 0b101100, 8: 0b11111, 7: 0b110011, 6: 0b1110, 5: 0b1010, 4: 0b111, 3: 0b0, 2: 0b0, 1: 0b0 }
def generate_private_keys(): print("Puzzle | Private Key") print("-------------------") for puzzle in range(1, 68): if puzzle in xor_masks: puzzle_end = 2**puzzle - 1 private_key = puzzle_end ^ xor_masks[puzzle] print(f"{puzzle:6} | {private_key}") else: print(f"{puzzle:6} | (Missing XOR mask)")
generate_private_keys() Is it clearer now? If not, then nothing.  Hi, still no understand why this works...and why it is more efficient than bruteforcing. The masks I suppose are the result of Mutagen? Can you take please two minutes to explain in full? also, "private_key = puzzle_end ^ xor_masks[puzzle]" is useless given that you xor the end of the range which is all 1s with the "mask", so in reality your "mask" is the opposite bits of the private key ALWAYS...meaning it gives you nothing! Thanks It’s not more efficient than brute forcing. It actually requires the exact same number of computations than brute force to scan the range.
|
I solved 67 and 68 using custom software distributing the load across ~25k GPUs. 4090 stocks speeds : ~8.1Bkeys/sec. Don’t challenge me technically if you know shit about fuck, I’ll ignore you. Same goes if all you can do is LLM reply.
|
|
|
Akito S. M. Hosana
Jr. Member

Activity: 462
Merit: 8
|
 |
April 05, 2025, 08:56:40 AM |
|
With all this code, my coding skills went from 0 to almost 0.5  Last time, we got to 96% of the code, and I ran out of comments in Deepseek (the final solution was deleted). I don't know which AI is the bigger idiot: Deepseek or ChatGPT? Or me using them. 
|
|
|
|
|
Dom1nic
Newbie

Activity: 20
Merit: 0
|
 |
April 05, 2025, 09:10:17 AM |
|
1. I still cannot understand how and why this work...can you elaborate on this please? 2. what do you mean by "At least I know that if you have the correct base key for the right bit flip? thanks
Python code: xor_masks = { 67: 0b1100111100000011110111001010001111100110101111010011111001010001, 66: 0b10111110011010001001010001011000011010100101000011100101000010001, 65: 0b101011111000111010011101100101011111010010011011001011110011000, 64: 0b100011111010111000001101100001001111011011101110110100101011, 63: 0b1100110001101000010000001001010011001100001001011111110111, 62: 0b100111000010101010111110000101001001111011100101010000010001, 61: 0b110000110110100101011100100010111101000010011011011011111001, 60: 0b111111100001011110011111011010110010011000010001000001, 59: 0b10110110100100110100010001111000001101010100101110110000, 58: 0b100111001100010100100011110101101111001110110010111011110, 57: 0b10100110110100011011011111000011010100010100111100011, 56: 0b1100010111001110100100111000101001110110000000000100000, 55: 0b10101010000011110000001100100100110000001111011101011, 54: 0b11100100100000100100100101010010100101110000010111100, 53: 0b111111110000111011100011011100000011100110110010011, 52: 0b1000001010001111010011011001101000110000111000011, 51: 0b101011111000111101011110010111111111011000101011, 50: 0b1110101000010101111000011110100010110110010101011, 49: 0b100010111110100010010100111111101010000010110010, 48: 0b10100100001100100101000001100011100010001100100, 47: 0b100110010100111101111010010101100001101000101, 46: 0b100010011111001111100011101110010101010111011, 45: 0b11011101000000110101111010111100001111111010, 44: 0b11111110101001100101001011100101001110000, 43: 0b10100001011000100110110000011101001101110, 42: 0b10101110111011110001110100111001001110000, 41: 0b1010110001111001011001010011001110100100, 40: 0b1011001010001101101101100110000101001, 39: 0b11010010100000011111001111110000010110, 38: 0b1110111000111110100000101001100101111, 37: 0b100010101000100010101001010101101100, 36: 0b11000100001011111011111010110000011, 35: 0b1101010001001011011110111010001111, 34: 0b10110101100110100110111011100010, 33: 0b1010110100100110101011100100111, 32: 0b1000111100111010101100111010001, 31: 0b10101100000001100010111000, 30: 0b10011010110011001010011011, 29: 0b1000000111011010101011100001, 28: 0b10011011101001001100010111, 27: 0b1010100111100011110001010, 26: 0b101111111100110110010001, 25: 0b1011010000100011010, 24: 0b1000111101010111111011, 23: 0b1010101001000110101101, 22: 0b100100001101111110000, 21: 0b1000101101011001011, 20: 0b101101001110101010, 19: 0b101000101101100000, 18: 0b1111011111110010, 17: 0b1000100110110000, 16: 0b11011011001001, 15: 0b1011100001100, 14: 0b1011011001111, 13: 0b101110011111, 12: 0b10110000100, 11: 0b1101111100, 10: 0b111111101, 9: 0b101100, 8: 0b11111, 7: 0b110011, 6: 0b1110, 5: 0b1010, 4: 0b111, 3: 0b0, 2: 0b0, 1: 0b0 }
def generate_private_keys(): print("Puzzle | Private Key") print("-------------------") for puzzle in range(1, 68): if puzzle in xor_masks: puzzle_end = 2**puzzle - 1 private_key = puzzle_end ^ xor_masks[puzzle] print(f"{puzzle:6} | {private_key}") else: print(f"{puzzle:6} | (Missing XOR mask)")
generate_private_keys() Is it clearer now? If not, then nothing.  Hi, still no understand why this works...and why it is more efficient than bruteforcing. The masks I suppose are the result of Mutagen? Can you take please two minutes to explain in full? also, "private_key = puzzle_end ^ xor_masks[puzzle]" is useless given that you xor the end of the range which is all 1s with the "mask", so in reality your "mask" is the opposite bits of the private key ALWAYS...meaning it gives you nothing! Thanks It’s not more efficient than brute forcing. It actually requires the exact same number of computations than brute force to scan the range. Yup, even with my skills, it’s obvious that the total number of bit combinations is the same as the keys in the puzzle. So I’ll probably use this approach when choosing the sub-ranges I’m scanning: start from the previous range, apply the mutagen to that string. If the key is found before 50% of the 50% expected in random mode, then we can start talking about efficiency.
|
|
|
|
|
Akito S. M. Hosana
Jr. Member

Activity: 462
Merit: 8
|
 |
April 05, 2025, 09:27:10 AM |
|
Yup, even with my skills, it’s obvious that the total number of bit combinations is the same as the keys in the puzzle. So I’ll probably use this approach when choosing the sub-ranges I’m scanning: start from the previous range, apply the mutagen to that string.
If the key is found before 50% of the 50% expected in random mode, then we can start talking about efficiency.
Maybe they have something up their sleeve that they haven't shown publicly yet—some kind of filtering XOR masks or something more complex that might work. Anyway, maybe it's just a more elegant way to achieve the same thing, though not necessarily faster than other solutions.
|
|
|
|
|
AlanJohnson
Member


Activity: 185
Merit: 11
|
 |
April 05, 2025, 10:02:35 AM |
|
Yup, even with my skills, it’s obvious that the total number of bit combinations is the same as the keys in the puzzle. So I’ll probably use this approach when choosing the sub-ranges I’m scanning: start from the previous range, apply the mutagen to that string.
If the key is found before 50% of the 50% expected in random mode, then we can start talking about efficiency.
Maybe they have something up their sleeve that they haven't shown publicly yet—some kind of filtering XOR masks or something more complex that might work. Anyway, maybe it's just a more elegant way to achieve the same thing, though not necessarily faster than other solutions. I'm waiting when someone finally breaks the last puzzle and this madness will end 
|
|
|
|
|
Bram24732
Member


Activity: 336
Merit: 40
|
 |
April 05, 2025, 11:29:26 AM Last edit: April 06, 2025, 11:32:29 AM by hilariousandco |
|
1. I still cannot understand how and why this work...can you elaborate on this please? 2. what do you mean by "At least I know that if you have the correct base key for the right bit flip? thanks
Python code: xor_masks = { 67: 0b1100111100000011110111001010001111100110101111010011111001010001, 66: 0b10111110011010001001010001011000011010100101000011100101000010001, 65: 0b101011111000111010011101100101011111010010011011001011110011000, 64: 0b100011111010111000001101100001001111011011101110110100101011, 63: 0b1100110001101000010000001001010011001100001001011111110111, 62: 0b100111000010101010111110000101001001111011100101010000010001, 61: 0b110000110110100101011100100010111101000010011011011011111001, 60: 0b111111100001011110011111011010110010011000010001000001, 59: 0b10110110100100110100010001111000001101010100101110110000, 58: 0b100111001100010100100011110101101111001110110010111011110, 57: 0b10100110110100011011011111000011010100010100111100011, 56: 0b1100010111001110100100111000101001110110000000000100000, 55: 0b10101010000011110000001100100100110000001111011101011, 54: 0b11100100100000100100100101010010100101110000010111100, 53: 0b111111110000111011100011011100000011100110110010011, 52: 0b1000001010001111010011011001101000110000111000011, 51: 0b101011111000111101011110010111111111011000101011, 50: 0b1110101000010101111000011110100010110110010101011, 49: 0b100010111110100010010100111111101010000010110010, 48: 0b10100100001100100101000001100011100010001100100, 47: 0b100110010100111101111010010101100001101000101, 46: 0b100010011111001111100011101110010101010111011, 45: 0b11011101000000110101111010111100001111111010, 44: 0b11111110101001100101001011100101001110000, 43: 0b10100001011000100110110000011101001101110, 42: 0b10101110111011110001110100111001001110000, 41: 0b1010110001111001011001010011001110100100, 40: 0b1011001010001101101101100110000101001, 39: 0b11010010100000011111001111110000010110, 38: 0b1110111000111110100000101001100101111, 37: 0b100010101000100010101001010101101100, 36: 0b11000100001011111011111010110000011, 35: 0b1101010001001011011110111010001111, 34: 0b10110101100110100110111011100010, 33: 0b1010110100100110101011100100111, 32: 0b1000111100111010101100111010001, 31: 0b10101100000001100010111000, 30: 0b10011010110011001010011011, 29: 0b1000000111011010101011100001, 28: 0b10011011101001001100010111, 27: 0b1010100111100011110001010, 26: 0b101111111100110110010001, 25: 0b1011010000100011010, 24: 0b1000111101010111111011, 23: 0b1010101001000110101101, 22: 0b100100001101111110000, 21: 0b1000101101011001011, 20: 0b101101001110101010, 19: 0b101000101101100000, 18: 0b1111011111110010, 17: 0b1000100110110000, 16: 0b11011011001001, 15: 0b1011100001100, 14: 0b1011011001111, 13: 0b101110011111, 12: 0b10110000100, 11: 0b1101111100, 10: 0b111111101, 9: 0b101100, 8: 0b11111, 7: 0b110011, 6: 0b1110, 5: 0b1010, 4: 0b111, 3: 0b0, 2: 0b0, 1: 0b0 }
def generate_private_keys(): print("Puzzle | Private Key") print("-------------------") for puzzle in range(1, 68): if puzzle in xor_masks: puzzle_end = 2**puzzle - 1 private_key = puzzle_end ^ xor_masks[puzzle] print(f"{puzzle:6} | {private_key}") else: print(f"{puzzle:6} | (Missing XOR mask)")
generate_private_keys() Is it clearer now? If not, then nothing.  Hi, still no understand why this works...and why it is more efficient than bruteforcing. The masks I suppose are the result of Mutagen? Can you take please two minutes to explain in full? also, "private_key = puzzle_end ^ xor_masks[puzzle]" is useless given that you xor the end of the range which is all 1s with the "mask", so in reality your "mask" is the opposite bits of the private key ALWAYS...meaning it gives you nothing! Thanks It’s not more efficient than brute forcing. It actually requires the exact same number of computations than brute force to scan the range. Yup, even with my skills, it’s obvious that the total number of bit combinations is the same as the keys in the puzzle. So I’ll probably use this approach when choosing the sub-ranges I’m scanning: start from the previous range, apply the mutagen to that string. If the key is found before 50% of the 50% expected in random mode, then we can start talking about efficiency. Nope, it will only mean they were lucky on this particular instance and will have no impact on any future puzzle whatsoever. Yup, even with my skills, it’s obvious that the total number of bit combinations is the same as the keys in the puzzle. So I’ll probably use this approach when choosing the sub-ranges I’m scanning: start from the previous range, apply the mutagen to that string.
If the key is found before 50% of the 50% expected in random mode, then we can start talking about efficiency.
Maybe they have something up their sleeve that they haven't shown publicly yet—some kind of filtering XOR masks or something more complex that might work. Anyway, maybe it's just a more elegant way to achieve the same thing, though not necessarily faster than other solutions. It is not faster, it’s actually way slower. KtimesG already explained why.
|
I solved 67 and 68 using custom software distributing the load across ~25k GPUs. 4090 stocks speeds : ~8.1Bkeys/sec. Don’t challenge me technically if you know shit about fuck, I’ll ignore you. Same goes if all you can do is LLM reply.
|
|
|
randrange
Newbie

Activity: 1
Merit: 0
|
 |
April 05, 2025, 01:29:00 PM |
|
Randomly changing 7 bits in 19 bits for a 20-bit private key is more efficient than randomly generating 19 bits. However, it is less certain because it only works if one of the mutations is the target key.
|
|
|
|
|
Bram24732
Member


Activity: 336
Merit: 40
|
 |
April 05, 2025, 02:28:14 PM |
|
Randomly changing 7 bits in 19 bits for a 20-bit private key is more efficient than randomly generating 19 bits. However, it is less certain because it only works if one of the mutations is the target key.
“Doing less work is faster” - no joke. You do a fraction of the work and get a fraction of the odds. Same as when you brute a range.
|
I solved 67 and 68 using custom software distributing the load across ~25k GPUs. 4090 stocks speeds : ~8.1Bkeys/sec. Don’t challenge me technically if you know shit about fuck, I’ll ignore you. Same goes if all you can do is LLM reply.
|
|
|
AlanJohnson
Member


Activity: 185
Merit: 11
|
 |
April 05, 2025, 02:31:40 PM |
|
Randomly changing 7 bits in 19 bits for a 20-bit private key is more efficient than randomly generating 19 bits. However, it is less certain because it only works if one of the mutations is the target key.
And if not ? You 'work' is pointless ? And you never know ? 
|
|
|
|
|
|
kTimesG
|
 |
April 05, 2025, 02:42:44 PM |
|
Randomly changing 7 bits in 19 bits for a 20-bit private key is more efficient than randomly generating 19 bits. However, it is less certain because it only works if one of the mutations is the target key.
“Doing less work is faster” - no joke. You do a fraction of the work and get a fraction of the odds. Same as when you brute a range. Be careful... you're on your way to be called a Digaran. A dream crusher. Perhaps influenced by bad ChatGPT answers. No one even cares that you solved 67. It's all about mutating bits nowadays, though it's basically the same thing (if not worse) as picking random keys and hashing them, which is like... the worst plan one can ever have. I think everyone forgot the basics, as stated by the Creator himself: that the puzzles are a crude measurement instrument for the cracking strength of the community. Not a voodoo witch hunt, taking out water from the ocean using a teaspoon. Oh, and the ocean is the size of Jupiter, while the spoon is the size of a bacteria. No one talks about maybe creating a good distributed computing system, which is all that the puzzles are about for some time now. Perhaps because that kind of challenge is not for them at all.
|
|
|
|
|