About Anaconda Help Download Anaconda

beeware / packages / cryptography 3.4.8

  • 4518 total downloads
  • Last upload: 2 months and 7 days ago

Installers

pip install

To install this package run one of the following:
pip install -i https://pypi.anaconda.org/beeware/simple 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/workflows/CI/badge.svg?branch=master :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amaster

.. image:: https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master :target: https://codecov.io/github/pyca/cryptography?branch=master

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.6+ and PyPy3 7.2+.

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
'...'
>>> f.decrypt(token)
'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 #cryptography-dev on Freenode 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.html .. _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.html


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.5) Legal | Privacy Policy