Author

Topic: Help with hashes (Read 723 times)

legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
October 30, 2013, 02:39:52 PM
#7
Does anyone have a method for transforming these type of characters into alphanumeric strings?
Yeah, true. You would need to get the actual bytes instead or use a modified blockparser that outputs the hash instead of those characters.
newbie
Activity: 7
Merit: 0
October 30, 2013, 12:31:06 PM
#6
Does anyone have a method for transforming these type of characters into alphanumeric strings?
newbie
Activity: 7
Merit: 0
legendary
Activity: 3472
Merit: 4794
October 29, 2013, 05:28:15 PM
#4
znort987's github blockchain parsing repo

Link please?
newbie
Activity: 7
Merit: 0
October 29, 2013, 05:24:29 PM
#3
That sounds correct in principle, but how can I apply those operations to the string:

\0\0\0\0‚µU‰£ýòÔºÿ@>o à5¥Ùt,®b•FDI

?

Thanks!
hero member
Activity: 728
Merit: 500
October 29, 2013, 04:05:38 PM
#2
Convert each byte to a hexadecimal representation. For each byte b of the hash, compute b / 16 and b % 16 as the two hexadecimal digits that represent that byte.
newbie
Activity: 7
Merit: 0
October 29, 2013, 02:21:47 PM
#1
Hi,

I used znort987's github blockchain parsing repo to get the following output on blocks:

3   \0\0\0\0‚µU‰£ýòÔºÿ@>o à5¥Ùt,®b•FDI   1231470173
4   \0\0\0\0NºÛUî�–É¢øˆ\   ÚYÀÖ‹"�¨ŽH„J…   1231470988
5   \0\0\0\0›rb1]¿‡­6V\   {‰*¿ý•¡ "ø–õ3ü   1231471428
6   \0\0\0\001 ç75i Zò¤¾‚U;*·vûÓ¢Ü�w�   1231471789
7   \0\0\0\0q–l+_ÔF±ä…²ÉÙYJÍ ̽TAÏÈ”D   1231472369

The middle column is a block's hash. How can I change this hash into alphanumeric characters? E.g.   "hash":"0000000000000001bfd57dad6bad2a345a47d6f3b4eb91925a6084016c1c19bc",


Thanks!
Jump to: