--- id: cryptography version: "50.0.0" license: Apache-2.0 OR BSD-3-Clause license_treatment: permissive maintenance: active --- # cryptography — cryptography is a package which provides cryptographic recipes and primitives to Python developers. License: permissive · Maintenance: active · Popularity: top 100 on PyPI ## Install pip install cryptography uv add cryptography poetry add cryptography ## Description pyca/cryptography ================= .. image:: https://img.shields.io/pypi/v/cryptography.svg :target: https://pypi.org/project/cryptography/ :alt: Latest Version .. image:: https://readthedocs.org/projects/cryptography/badge/?version=latest :target: https://cryptography.io :alt: Latest Docs .. image:: https://github.com/pyca/cryptography/actions/workflows/ci.yml/badge.svg :target: https://github.com/pyca/cryptography/actions/workflows/ci.yml?query=branch%3Amain ``cryptography`` is a package which provides cryptographic recipes and primitives to Python developers. Our goal is for it to be your "cryptographic standard library". It supports Python 3.9+ and PyPy3 7.3.11+. ``cryptography`` includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests, and key derivation functions. For example, to encrypt something with ``cryptography``'s high level symmetric encryption recipe: .. code-block:: pycon >>> from cryptography.fernet import Fernet >>> # Put this somewhere safe! >>> key = Fernet.generate_key() >>> f = Fernet(key) >>> token = f.encrypt(b"A really secret... ## AI interpretation — verify before relying cryptography provides cryptographic recipes and primitives—symmetric ciphers, message digests, key derivation, and high-level encryption interfaces—for Python developers to build secure applications. Verdict: cryptography is a production-stable, top-100 PyPI package with active maintenance, no known vulnerabilities, and permissive licensing. Medium install friction is offset by comprehensive wheel distribution and strong community backing; suitable for any application requiring cryptographic operations. [View on SkillFed](https://skillfed.io/packages/cryptography) · [View on PyPI](https://pypi.org/project/cryptography/)