Title: What thing exactly being hashed? Post by: Bannedseller on October 20, 2015, 09:07:54 AM I have seen this page: https://en.bitcoin.it/wiki/Block_hashing_algorithm and seen bitcoin is hashing a 80 byte block header. However, when I gather information for block 379726, then I got a hex string of 00000003000000000000000004174cb956530251b08d70ae38fb0c028c73a2c7a859a676d9b8780 c956fa5af44815a35c2067b3b4d9639a8796faa770182dd76ed70366d5625fd4218120f14c3ef30 f4 with hash of 9fd1d6cbabefb73bfc51568c3d5eac394f6b1c3b04377e51684a88aa3951ef6b. This mustn't be what bitcoin is hashing (bitcoin hashes have many leading zeros). Then what exactly bitcoin is hashing?
Sorry if being in wrong section. Title: Re: What thing exactly being hashed? Post by: Velkro on October 20, 2015, 07:56:15 PM Its very complicated technical question. I think its not good for Beginners & Help, maybe try Development & Technical Discussion
Title: Re: What thing exactly being hashed? Post by: Bifta on October 20, 2015, 08:32:59 PM That is the data that is being hashed. But what you are probably hashing is the ascii text, not the data as hex bytes. You need to hash it has hex bytes, so in most command line hashers, there should be something like a binary option which will read that hex string as hex bytes.
Here is a site that I use that can hash the hex bytes as binary and it returns multiple hashes. http://www.fileformat.info/tool/hash.htm Title: Re: What thing exactly being hashed? Post by: Bannedseller on October 21, 2015, 01:45:26 AM Its very complicated technical question. I think its not good for Beginners & Help, maybe try Development & Technical Discussion I posted that to Mining board previously, so a moderator moved it here and it should be the most suitable board.That is the data that is being hashed. But what you are probably hashing is the ascii text, not the data as hex bytes. You need to hash it has hex bytes, so in most command line hashers, there should be something like a binary option which will read that hex string as hex bytes. I have used that site before I posted here and got that hash.Here is a site that I use that can hash the hex bytes as binary and it returns multiple hashes. http://www.fileformat.info/tool/hash.htm Title: Re: What thing exactly being hashed? Post by: Bifta on October 21, 2015, 01:58:58 AM Its very complicated technical question. I think its not good for Beginners & Help, maybe try Development & Technical Discussion I posted that to Mining board previously, so a moderator moved it here and it should be the most suitable board.That is the data that is being hashed. But what you are probably hashing is the ascii text, not the data as hex bytes. You need to hash it has hex bytes, so in most command line hashers, there should be something like a binary option which will read that hex string as hex bytes. I have used that site before I posted here and got that hash.Here is a site that I use that can hash the hex bytes as binary and it returns multiple hashes. http://www.fileformat.info/tool/hash.htm |