{"library":"simple-crypt","title":"simple-crypt","description":"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).","language":"python","status":"maintenance","last_verified":"Mon Apr 27","install":{"commands":["pip install simple-crypt"],"cli":null},"imports":["from simplecrypt import encrypt","from simplecrypt import decrypt"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from simplecrypt import encrypt, decrypt\n\n# Encrypt\npassword = 'my-secret-password'\nplaintext = b'Hello, this is secret data'\nciphertext = encrypt(password, plaintext)\nprint(ciphertext)\n\n# Decrypt\nplaintext_back = decrypt(password, ciphertext)\nprint(plaintext_back)\n\n# Note: password must be a string, data must be bytes-like.","lang":"python","description":"Encrypt and decrypt using a password string. Data must be bytes-like.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}