bip38cli

Command-line tool to encrypt and decrypt Bitcoin private keys using the BIP38 standard. This was the project I used to learn Go: instead of a generic tutorial, I went straight into scrypt, AES, elliptic curves, and Base58Check.

What’s included

  • BIP38 encryption and decryption (including the specification’s test vectors)
  • WIF formats and compressed / uncompressed keys
  • Implementation with scrypt, AES, and secp256k1
  • CLI with Cobra, tests, Makefile, and linter
  • Tutorials in Portuguese and English in the repository

Code and reading