Post
Topic
Board Development & Technical Discussion
Merits 11 from 5 users
Re: BIP39 how software found the checksum?
by
AdolfinWolf
on 16/12/2020, 23:29:04 UTC
⭐ Merited by LoyceV (4) ,ETFbitcoin (3) ,o_e_l_e_o (2) ,Heisenberg_Hunter (1) ,vapourminer (1)
Yes, it's entirely possible.

Take your entropy.

1010100010011110110001001110100000110010011101010111011101000001000110100001000 0010011111011111011001011101111110110101011000110

Convert it to a buffer or something, calculate the length (16), multiply by 8, we get 128.

divide by 32, we get 4.

hash 1010100010011110110001001110100000110010011101010111011101000001000110100001000 0010011111011111011001011101111110110101011000110

first to buffer
168, 158, 196, 232, 50, 117, 119, 65, 26, 16, 79, 190, 203, 191, 106, 198

hash -> 191, 75, 136, 22, 52, 232, 143, 245, 156, 41, 202, 165, 130, 65, 62, 224, 80, 187, 28, 233, 167, 34, 114, 206, 190, 148, 145, 242, 142, 71, 78, 3

convert the hash to binary

take 0,4

you get 1011.

Don't think your hash function is right.

I get bf4b881634e88ff59c29caa582413ee050bb1ce9a72272cebe9491f28e474e03