Post
Topic
Board Development & Technical Discussion
Merits 6 from 2 users
Topic OP
Address Generation Procedure
by
guitarplinker
on 21/11/2020, 01:09:10 UTC
⭐ Merited by suchmoon (4) ,o_e_l_e_o (2)
I'm trying to understand the steps for generating a bitcoin address on this wiki page, but the step 2 (SHA256 hash of ECDSA pub key) value isn't lining up:

Code:
user@computer:~$ echo -n "0250863ad64a87ae8a2fe83c1af1a8403cb53f53e486d8511dad8a04887e5b2352" | sha256sum
a9ce83de3a0ff3516b7c50cdd787e9f69f152f227d93c9512774231e7132e925  -


The expected value is 0b7c28c9b7290c98d7438e70b3d3f7c848fbd7d1dc194ff83f4f7cc9b1378e98. I tried following the steps on this page but encountered the same behavior. Does anyone see where I'm going wrong in following these guides?