Bitcoin Forum
August 23, 2024, 06:41:57 AM *
News: All versions of Windows are affected by a critical security bug; make sure you update.
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Discussion / Re: How bitcoin addresses are generated? on: October 06, 2017, 10:17:02 AM
Hello,
I'm learning how Bitcoin address is generated and I don't understand one thing.
My source is the following
http://gobittest.appspot.com/Address
https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

What I dont understand is step 2, hashing public key
Code:
0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6
using SHA-256 hashing function.

Both mentioned sources have the output of the SHA-256
Code:
600FFE422B4E00731A59557A5CCA46CC183944191006324A447BDB2D98D4B408
but If I try any other hash generator the result is different
Code:
32511e82d56dcea68eb774094e25bab0f8bdd9bc1eca1ceeda38c7a43aceddce

Can anyone explain why? Is the public key hashed multiple times or why?
thank you very much.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!