Bitcoin encryption algorithm
#1
Hello everyone!



I want to implement a bitcoin wallet password crack algorithm on my own, or at least to understand how it works. I hope you help me to reinvent this wheel) i didnt manage to get enougth info on that, but need to.



As far as i learned, the result of bitcoin2john.py gives the hash, that contains master key, salt, number of iterations and some public keys, that refer to operations with the wallet. Also, i got that the whole algorithm consists of two steps:

1. password+salt are hashed with SHA512 a number of times, defined in the wallet

2. master_key in the wallet is encrypted with the resulted hash using AES256.



So, i get some password that i think must work, concatenate it with salt from the wallet, then SHA512 a number of times from the wallet, then AES256 with the master_key from the wallet, and... how i check that the result is correct? Or my understanding is entirely wrong?

Help me, please. =_=
Reply


Messages In This Thread
Bitcoin encryption algorithm - by LiNED - 03-16-2020, 05:24 PM
RE: Bitcoin encryption algorithm - by philsmd - 03-17-2020, 09:47 AM
RE: Bitcoin encryption algorithm - by LiNED - 03-17-2020, 03:25 PM