Title: Timestamping a file into bitcoin's block chain Post by: grondilu on December 19, 2010, 03:58:47 AM Here is a script to timestamp or search for a timestamp in the block chain.
Code: #!/bin/bash The first data I've timestamped using this code is this code itself (or more precisely my signature of it). You can check it by running : $ bash ./timestamp.sh -s < ./timestamp.sh.asc where timestamp.sh.asc is : -----BEGIN PGP MESSAGE----- Version: GnuPG v1.4.10 (GNU/Linux) owFtk7Fv00AUxkMLSD5RRPkLXh1LNIBjlwISroKAgQUQHdiiIJ3tS+7AuTO+c1LU dmDrgoRUsTFkQDCgMocBBlZ2xMKKBAtsDCw8J3GTILyc7/nd9/3e87tnS4uVheU3 93//3Bye5EcOFmvhCSO6TBvaTeua31l60quueKGQXkg1J1VShdnvEMANYSIl5DQs ZAd0lInUjNLvcaEn+2mOBpWBZjSL+GxQSKMgHAue0RAmKnoIEadCEjLasK00URnL GjY3Jg08by5aj1TXJuiZMRpriKmhaCINKAnaxAhJZQwcCwFhiOb0wqXLDWdVpUxq nUDc0QbccbhWyERK9lhm9ORIAUehRxMRl5BA4zhjWpPJimr9DkOVu+CCMwfnPfIK GaMmqZ6zPbYKgov+LvpprtLCH9iW6SQqJBHVDGznmo3WBPBx9Y7rjrtWI1YVHuQI XHaRs3+hoPgrRXimjVZ/vQtunHdTVJ7nO+SavNgbG2Rk69fPrTZ990qrtmPbaNxm rOFsrwWuX/fXdokl2qVzDFi8kG0FV8GLWc+TeZIQCyHkNKXUBweFiMUSrJJFXIG9 mbCi5Igz5D3Mx/HJcilxrAoiqy1GUGcRZHyKWLmmHYajCI4PTVe3AJq0q3JpWsTC ngolNQTEmmkfJiuZPC6b18ZppNNBLBr3/ym0bEAGpmlE9m4erSwvVI4fWyguSYVY p8pr9KteGbz+8eVz/8PXg5f7z1+8v/UnH5rTg8rgKd2Phu8+ffx+/TY5/yp7u7fy bf0v =ecN3 -----END PGP MESSAGE----- PS. An other version using rmd160 instead of sha256 (so that we don't have to truncate the hash) : Code: #!/bin/bash Title: Re: Timestamping a file into bitcoin's block chain Post by: theymos on December 20, 2010, 02:45:19 AM I made a couple of new Real-Time Stats pages for things like this:
http://blockexplorer.com/q/getreceivedbyaddress http://blockexplorer.com/q/addressfirstseen If you use /q/addressfirstseen, you'll be able to make a really nice script for distributed timestamping. Title: Re: Timestamping a file into bitcoin's block chain Post by: Hal on December 21, 2010, 12:40:14 AM Instead of a file as input, use the hash of a domain name, and you have a quick-n-dirty system for claiming ownership permanently (the name belongs to the key making the payment). Then as suggested in the BitDNS thread, use any common DHT implementation to broadcast the signed DNS records.
Title: Re: Timestamping a file into bitcoin's block chain Post by: grondilu on January 06, 2011, 06:13:35 PM Now that I have implemented base58 code in bash, I don't even need to connect to blockexplorer :)
Code: #!/bin/bash |