1
0
Fork 0
mirror of https://github.com/pyca/cryptography.git synced 2026-03-07 02:30:39 +00:00
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. https://cryptography.io
Find a file
dependabot[bot] 464c5b736b
chore(deps): bump ruff from 0.15.4 to 0.15.5 (#14433)
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.4 to 0.15.5.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.15.4...0.15.5)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-06 17:35:08 +00:00
.github Bump downstream dependencies in CI (#14432) 2026-03-06 12:17:23 +00:00
docs Fix PBKDF2 zero-iterations causing Rust panic (#14428) 2026-03-05 15:52:56 +00:00
src Fix PBKDF2 zero-iterations causing Rust panic (#14428) 2026-03-05 15:52:56 +00:00
tests Fix PBKDF2 zero-iterations causing Rust panic (#14428) 2026-03-05 15:52:56 +00:00
vectors Fix PBKDF2 zero-iterations causing Rust panic (#14428) 2026-03-05 15:52:56 +00:00
.gitattributes test py27 with windows container on azure (#4880) 2019-05-08 18:29:42 -04:00
.gitignore CHANGELOG: record new X.509 client verification APIs (#10615) 2024-03-21 01:15:24 +00:00
.readthedocs.yml add explicit config to rtd (#12184) 2024-12-21 08:54:24 -05:00
Cargo.lock chore(deps): bump quote from 1.0.44 to 1.0.45 (#14415) 2026-03-04 07:08:46 -05:00
Cargo.toml chore(deps): bump cc from 1.2.55 to 1.2.56 (#14307) 2026-02-13 07:32:15 -05:00
CHANGELOG.rst remove binary curve support (#14291) 2026-02-28 14:09:35 +00:00
ci-constraints-requirements.txt chore(deps): bump ruff from 0.15.4 to 0.15.5 (#14433) 2026-03-06 17:35:08 +00:00
CONTRIBUTING.rst link the CONTRIBUTING.rst to the development section of our docs 2014-03-02 09:23:46 -04:00
LICENSE drop support for openssl < 1.1.1d (#8449) 2023-03-24 08:36:58 -04:00
LICENSE.APACHE HTTPS a bunch of links in random places (#4666) 2018-12-31 10:10:09 -06:00
LICENSE.BSD Added new license files. Refs #1209 2014-10-31 07:51:41 -07:00
noxfile.py Bump pyo3 to 0.28 (#14247) 2026-02-01 21:40:48 -06:00
pyproject.toml Fix installing stray files into site-packages (#14319) 2026-02-15 12:01:37 -05:00
README.rst fix CI badge (#13003) 2025-05-28 16:52:10 -04:00
release.py added pep 723 metadata to release.py (#13379) 2025-09-01 10:44:51 +09:00

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.8+ 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/