4

What is the best practice to encrypt an Ethereum private key? For example, Bitcoin has BIP38.

1 Answer 1

2

The best practice is to comply with the Web3 Secret Storage Definition. This will allow your private key to be easily imported into clients such as Geth and cpp-ethereum (eth). The definition encodes to a JSON file (unlike a Base58Check-encoded printable string as in BIP38) and includes test vectors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.