{"library":"sslcrypto","title":"sslcrypto","type":"library","description":"sslcrypto is a Python library providing ECIES (Elliptic Curve Integrated Encryption Scheme), AES, and RSA encryption with OpenSSL-based implementation and a pure Python fallback. Current version 5.3 offers multiple backends (OpenSSL, LibreSSL, cryptography, pure Python) and supports a wide range of curves and RSA key sizes. Release cadence is irregular, with occasional major version bumps due to API changes.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install sslcrypto","pip install sslcrypto[all]"],"cli":null},"imports":["from sslcrypto import aes","from sslcrypto import ecc","from sslcrypto import rsa"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/imachug/sslcrypto","docs":null,"changelog":null,"pypi":"https://pypi.org/project/sslcrypto/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from sslcrypto import aes\n\nkey = aes.generate_key()\niv = aes.generate_iv()\n\ncipher = aes.new(key, aes.MODE_CBC, iv=iv)\nencrypted = cipher.encrypt(b'secret message')\n\ndecipher = aes.new(key, aes.MODE_CBC, iv=iv)\ndecrypted = decipher.decrypt(encrypted)\nprint(decrypted)","lang":"python","description":"Generate an AES key, IV, encrypt and decrypt a message using CBC mode.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}