Bitcoin Proof of Work in Command Line
Apr. 25th, 2013 01:45 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
$ cat hex 02000000 f40457b1 d005aeec 6e4fe577 f2a76dc3 73ef8901 220376b7 2b6de55a 00000000 bdcb52b0 9c48d2ee 26a513cb cead7fb7 7daf4cef 9e2ab83b bb9eb6b0 a7f5f990 fd270c51 378a0e1c 381353fa $ xxd -r -p hex data $ shasum -a 256 data >hash1 $ xxd -r -p hash1 bin $ shasum -a 256 bin e340423dffb20d7d21f17dfa272c527d84c20662061ce635627d0f0200000000 bin $