cryptography

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.

Latest version: 47.0.0 registry icon
Maintenance score
100
Safety score
50
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
47.0.0 0 0 0 0 0
46.0.7 0 0 0 0 0
46.0.6 0 0 1 0 0
46.0.5 0 0 2 0 0
46.0.4 0 0 3 0 0
46.0.3 0 0 3 0 0
46.0.2 0 0 3 0 0
46.0.1 0 0 3 0 0
46.0.0 0 0 3 0 0
45.0.7 0 0 3 0 0
45.0.6 0 0 3 0 0
45.0.5 0 0 3 0 0
45.0.4 0 0 3 0 0
45.0.3 0 0 3 0 0
45.0.2 0 0 3 0 0
45.0.1 0 0 3 0 0
45.0.0 0 0 3 0 0
44.0.3 0 0 2 0 0
44.0.2 0 0 2 0 0
44.0.1 0 0 2 0 0
44.0.0 0 0 3 0 0
43.0.3 0 0 3 0 0
43.0.1 0 0 3 0 0
43.0.0 0 0 4 0 0
42.0.8 0 0 4 0 0
42.0.7 0 0 4 0 0
42.0.6 0 0 4 0 0
42.0.5 0 0 4 0 0
42.0.4 0 0 4 0 0
42.0.3 0 0 4 1 0
42.0.2 0 0 4 1 0
42.0.1 0 0 5 1 0
42.0.0 0 0 5 1 0
41.0.7 0 0 4 2 0
41.0.6 0 0 4 2 0
41.0.5 0 0 4 3 0
41.0.4 0 0 4 3 0
41.0.3 0 0 5 3 0
41.0.2 0 0 6 3 0
41.0.1 0 0 6 4 0
41.0.0 0 0 6 4 0
40.0.2 0 0 7 4 0
40.0.1 0 0 7 4 0
40.0.0 0 0 7 4 0
39.0.2 0 0 7 3 0
39.0.1 0 0 7 3 0
39.0.0 0 0 8 4 0
38.0.4 0 0 8 4 0
38.0.3 0 0 8 4 0
38.0.2 0 0 9 4 0
38.0.1 0 0 9 4 0
38.0.0 0 0 9 4 0
37.0.4 0 0 9 3 0
37.0.3 0 0 9 3 0
37.0.2 0 0 9 3 0
37.0.1 0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.2 0 0 5 4 0
1.2.1 0 0 5 4 0
1.2 0 0 5 4 0
1.1.2 0 0 5 4 0
1.1.1 0 0 5 4 0
1.1 0 0 5 4 0
1.0.2 0 0 5 4 0
1.0.1 0 0 5 4 0
1.0 0 0 5 4 0
0.9.3 0 0 5 4 0
0.9.2 0 0 5 4 0
0.9.1 0 0 5 4 0
0.9 0 0 5 4 0
0.8.2 0 0 5 4 0
0.8.1 0 0 5 4 0
0.8 0 0 5 3 0
0.7.2 0 0 4 3 0
0.7.1 0 0 4 3 0
0.7 0 0 4 3 0
0.6.1 0 0 4 3 0
0.6 0 0 4 3 0
0.5.4 0 0 4 3 0
0.5.3 0 0 4 3 0
0.5.2 0 0 4 3 0
0.5.1 0 0 4 3 0
0.5 0 0 4 3 0
0.4 0 0 4 3 0
0.3 0 0 4 3 0
0.2.2 0 0 4 3 0
0.2.1 0 0 4 3 0
0.2 0 0 4 3 0
0.1 0 0 4 3 0

Stability
Latest release:

47.0.0 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Apache-2.0   -   Apache License 2.0

Not a wildcard

Not proprietary

OSI Compliant


BSD-3-Clause   -   BSD 3-Clause "New" or "Revised" License

Not a wildcard

Not proprietary

OSI Compliant



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 message. Not for prying eyes.")
>>> token
b'...'
>>> f.decrypt(token)
b'A really secret message. Not for prying eyes.'

You can find more information in the documentation_.

You can install cryptography with:

.. code-block:: console

$ pip install cryptography

For full details see the installation documentation_.

Discussion


If you run into bugs, you can file them in our `issue tracker`_.

We maintain a `cryptography-dev`_ mailing list for development discussion.

You can also join ``#pyca`` on ``irc.libera.chat`` to ask questions or get
involved.

Security
~~~~~~~~

Need to report a security issue? Please consult our `security reporting`_
documentation.


.. _`documentation`: https://cryptography.io/
.. _`the installation documentation`: https://cryptography.io/en/latest/installation/
.. _`issue tracker`: https://github.com/pyca/cryptography/issues
.. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
.. _`security reporting`: https://cryptography.io/en/latest/security/