Simple, secure encryption and decryption for Python 2.7 and 3. Current version 4.1.7. Provides high-level functions `encrypt` and `decrypt` using PBKDF2 and AES-256-CBC. Release cadence is low (last release 2018).
pip install simple-cryptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Encrypt and decrypt using a password string. Data must be bytes-like.
Always use str for password: encrypt('password', data) not encrypt(b'password', data).Pin pycryptodome to 3.9.9: pip install 'pycryptodome==3.9.9'