Am trying to verify some code I have written:
I am using a sample message "hello" and run a single sha256 hash and get the correct result, but try to hash the result and don't get the same result for the 2nd hash....
I am referencing the following page:
https://en.bitcoin.it/wiki/Protocol_specificationMy single sha256 hash is verified, and agrees with the following:
http://www.xorbin.com/tools/sha256-hash-calculatorIs there a step I am missing for calculating the second hash?
Sha256("hello") = "2cf24dba...."
Sha256("2cf24dba....") <> "9595c9d..."