Bitcoin Forum
August 26, 2024, 08:16:45 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Re: Double hashing question on: April 30, 2013, 07:48:01 AM
Yep worked that's all it was thanks
2  Other / Beginners & Help / Re: Double hashing question on: April 30, 2013, 01:28:25 AM
Good point - that should be the answer - sometimes easiest solution is right in front of you just takes someone else to notice.
3  Other / Beginners & Help / Double hashing question on: April 29, 2013, 09:49:24 PM
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_specification

My single sha256 hash is verified, and agrees with the following:
http://www.xorbin.com/tools/sha256-hash-calculator

Is there a step I am missing for calculating the second hash?

Sha256("hello") = "2cf24dba...."
Sha256("2cf24dba....") <> "9595c9d..."
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!