Why don't you use proper link BBcode?
Fixed, thanks —
https://github.com/rarsn4/blm-0.2btc-analysisI can't vouch for the code provided in the above repository.
Entirely reasonable, and worth stating plainly:
don't run it on a machine
holding funds. It's CUDA + Python, it needs no network access, and there is
no wallet interaction anywhere in it — but nobody should take my word for that.
If you'd rather not execute anything, the findings stand on their own and are
checkable in a few lines of Python:
from mnemonic import Mnemonic
wl = set(Mnemonic("english").wordlist)
print("breathe" in wl) # False -- cannot be a seed word
print([w for w in ("they","that","time") if w not in wl]) # [] -- all valid
The 24-word warning is the one I'd most like people to check, because it
silently voids results rather than erroring:
import hashlib
mn = "abandon "*23 + "art"
print(len(mn)) # 187 bytes -- exceeds the 128-byte HMAC block
# RFC 2104: key must become SHA512(key). Zero-padding instead is correct for
# 12 words, passes every 12-word test vector, and derives garbage for 24.
print(hashlib.pbkdf2_hmac('sha512', mn.encode(), b"mnemonic", 2048, 64)[:8].hex())
# 408b285c12383600 -- the canonical value. If your solver gives anything else,
# your 24-word negatives are void.
Canonical check:
abandon x23 + art ->
1KBdbBJRVYffWHWWZ1moECfdVBSEnDpLHi at m/44'/0'/0'/0/0