Bitcoin Forum
December 03, 2016, 02:31:35 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin Wallet Backup/Encryption System. bitcoin-wallet-rsa  (Read 734 times)
Anonymous
Guest

August 25, 2011, 04:47:11 AM
 #1

https://github.com/macintosh264/bitcoin-wallet-rsa

This is a little program I wrote so you can backup your wallet using RSA encryption. It genereates a key-pair, and encrypts your wallet using the public key. It writes the private key to a file along with the wallet that has been split up into 100 character segments, then encrypted, base64'd, placed in an array, and then that array is json-encoded, and then that is base64'd. You encrypt with one command.

php -f ./encrypt.php -- <wallet location>

then it creates two new files in ./ called WALLET_ENCRYPTED and DECRYPT_KEY. You use these files to decrypt your wallet. You decrypt with a similar command:
php -f ./decrypt.php -- <encrypted wallet location> <key location>

and it creates a file called WALLET_DECRYPTED.dat in ./

It is simple, but powerful.

Thanks,
macintosh264
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!