Skip to content

Commit

Permalink
commit script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Lee committed Jul 14, 2014
1 parent 727b55b commit b5e8b47
Show file tree
Hide file tree
Showing 2 changed files with 451 additions and 3 deletions.
56 changes: 53 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
bitcoin-sign-message
====================
Sign Message
===========

Small single purpose Python script to sign and verify messages with Bitcoin private keys.
A single purpose small Python script to sign and verify messages with bitcoin private keys.


#### How to use:

Requires ecdsa library. Do `pip install ecdsa` before using script.

###### To sign a message:
$./signmessage.py -s
Verify message

Enter address:
1HUBHMij46Hae75JPdWjeZ5Q7KaL7EFRSD
Enter message:
test message
Enter private key:
5KMWWy2d3Mjc8LojNoj8Lcz9B1aWu8bRofUgGwQk959Dw5h2iyw

Signature:

G0k+Nt1u5boTTUfLyj6x1T5flg1v9rUKGlhs/jPApaTWLHf3GVdAIOIHip6sVwXEuzQGPWIlS0VT+yryXiDaavw=


###### To sign a message:
$./signmessage.py -s
Verify message

Enter address:
14dD6ygPi5WXdwwBTt1FBZK3aD8uDem1FY
Enter message:
test message
Enter private key:
L41XHGJA5QX43QRG3FEwPbqD5BYvy6WxUxqAMM9oQdHJ5FcRHcGk

Signature:

IPn9bbEdNUp6+bneZqE2YJbq9Hv5aNILq9E5eZoMSF3/fBX4zjeIN6fpXfGSGPrZyKfHQ/c/kTSP+NIwmyTzMfk=


###### To verify a message:
$./signmessage.py
Verify message

Enter address:
14dD6ygPi5WXdwwBTt1FBZK3aD8uDem1FY
Enter message:
test message
Enter signature:
IPn9bbEdNUp6+bneZqE2YJbq9Hv5aNILq9E5eZoMSF3/fBX4zjeIN6fpXfGSGPrZyKfHQ/c/kTSP+NIwmyTzMfk=

Message verified: True
Loading

0 comments on commit b5e8b47

Please sign in to comment.