Do you know how bitcoin addresses are constructed?
As it's explained in Crypt4you this is the bitcoin address generation algorithm:
1. hash_key = v || RIPEMD160(SHA256(pk)) 2. checksum = SHA256(SHA256(hash_key)) and just taking the first 4 bytes of the result 3. address = Base58Enc(hash_key || checksum)
Very usefull for step-by-step learning the official documentation: https://en.bitcoin.it/wiki/Technicalbackgroundofversion1Bitcoinaddresses
Anyone here? I can reproduce the example here:
but cannot reproduce the test vectors.
What do you mean by "v || " ??
Sorry, I understand, v = "00" is the version. Using this algorithm, 1 -> 00C51B66BCED5E4491001BD702669770DCCF4409823DB5EB5B -> 1JyCwfjA8jYwMxcf6E7DXSs6rpcnZ2uppi
But the test vector on the challenge page decodes (base58) to 0091B24BF9F5288532960AC687ABB035127B1D28A50074FFE0
Not a match.
Sorry, never mind. I missed that this is a private key.