Electrum can encrypt the private keys in wallets with a user entered password. But what encryption algorithm is used? I'd hope it is reasonably strong crypto. I've looked at the Electrum docs and can't find specifics.

1 Answer 1


Electrum uses AES-256-CBC to encrypt wallets. The key is sha256(sha256("your password")).

Electrum wallet source: https://github.com/spesmilo/electrum/blob/master/lib/wallet.py

slowaes library: https://code.google.com/p/slowaes/source/browse/trunk/python/aes.py

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.