0xzibeth / crypter

Python scrypt to encrypt and decrypt keys using https://github.com/ethereum/eth-account

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crypter

This script encrypts and decrypts keys. Might come in handy for scripts and automation. The idea is to encrypt keys and keep ids of encrypted object, encrypted objects JSON and password separately. For example, you can operate with ids in any sheet or text file. JSON object could be stored on a USB flash drive. Once you need to decrypt some keys you can insert USB flash drive into your machine and decrypt keys on the go.

Usage

  1. Install eth_account and json in any environment you prefer.
  2. Put your keys in keys.txt.
  3. Run the sript with encrypt() mode.
  4. Clear keys.txt.
  5. Store vault.json on a USB flash drive. You might want to update the path to the file in dectypt() fucntion.
  6. Use identifiers from ids.txt anywhere you like with no fear of being hacked.

About

Python scrypt to encrypt and decrypt keys using https://github.com/ethereum/eth-account

License:MIT License


Languages

Language:Python 100.0%