cryptography 46.0.6


pip install cryptography

  Latest version

Released: Mar 25, 2026


Meta
Author: The Python Cryptographic Authority and individual contributors
Requires Python: >=3.8, !=3.9.0, !=3.9.1

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

Natural Language
  • English

Operating System
  • MacOS :: MacOS X
  • POSIX
  • POSIX :: BSD
  • POSIX :: Linux
  • Microsoft :: Windows

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy
  • Python :: Free Threading :: 3 - Stable

Topic
  • Security :: Cryptography
Latest Version Latest Docs https://github.com/pyca/cryptography/actions/workflows/ci.yml/badge.svg

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:

>>> 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:

$ 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.

46.0.6 Mar 25, 2026
46.0.5 Feb 10, 2026
46.0.4 Jan 28, 2026
46.0.3 Oct 15, 2025
46.0.2 Oct 01, 2025
46.0.1 Sep 17, 2025
46.0.0 Sep 16, 2025
45.0.7 Sep 01, 2025
45.0.6 Aug 05, 2025
45.0.5 Jul 02, 2025
45.0.4 Jun 10, 2025
45.0.3 May 25, 2025
45.0.2 May 18, 2025
45.0.1 May 17, 2025
45.0.0 May 17, 2025
44.0.3 May 02, 2025
44.0.2 Mar 02, 2025
44.0.1 Feb 11, 2025
44.0.0 Nov 27, 2024
43.0.3 Oct 18, 2024
43.0.1 Sep 03, 2024
43.0.0 Jul 20, 2024
42.0.8 Jun 04, 2024
42.0.7 May 06, 2024
42.0.6 May 04, 2024
42.0.5 Feb 24, 2024
42.0.4 Feb 21, 2024
42.0.3 Feb 16, 2024
42.0.2 Jan 30, 2024
42.0.1 Jan 25, 2024
42.0.0 Jan 23, 2024
41.0.7 Nov 28, 2023
41.0.6 Nov 27, 2023
41.0.5 Oct 24, 2023
41.0.4 Sep 19, 2023
41.0.3 Aug 01, 2023
41.0.2 Jul 11, 2023
41.0.1 Jun 01, 2023
41.0.0 May 30, 2023
40.0.2 Apr 14, 2023
40.0.1 Mar 25, 2023
40.0.0 Mar 24, 2023
39.0.2 Mar 02, 2023
39.0.1 Feb 07, 2023
39.0.0 Jan 02, 2023
38.0.4 Nov 27, 2022
38.0.3 Nov 01, 2022
38.0.2 Oct 11, 2022
38.0.1 Sep 07, 2022
38.0.0 Sep 07, 2022
37.0.4 Jul 05, 2022
37.0.3 Jun 21, 2022
37.0.2 May 04, 2022
37.0.1 Apr 27, 2022
37.0.0 Apr 26, 2022
36.0.2 Mar 15, 2022
36.0.1 Dec 14, 2021
36.0.0 Nov 21, 2021
35.0.0 Sep 30, 2021
3.4.8 Aug 24, 2021
3.4.7 Mar 25, 2021
3.4.6 Feb 16, 2021
3.4.5 Feb 13, 2021
3.4.4 Feb 09, 2021
3.4.3 Feb 09, 2021
3.4.2 Feb 08, 2021
3.4.1 Feb 07, 2021
3.4 Feb 07, 2021
3.3.2 Feb 07, 2021
3.3.1 Dec 10, 2020
3.3 Dec 09, 2020
3.2.1 Oct 28, 2020
3.2 Oct 26, 2020
3.1.1 Sep 22, 2020
3.1 Aug 27, 2020
3.0 Jul 20, 2020
2.9.2 Apr 22, 2020
2.9.1 Apr 21, 2020
2.9 Apr 02, 2020
2.8 Oct 17, 2019
2.7 May 30, 2019
2.6.1 Feb 27, 2019
2.6 Feb 27, 2019
2.5 Jan 22, 2019
2.4.2 Nov 21, 2018
2.4.1 Nov 12, 2018
2.4 Nov 12, 2018
2.3.1 Aug 14, 2018
2.3 Jul 18, 2018
2.2.2 Mar 27, 2018
2.2.1 Mar 20, 2018
2.2 Mar 19, 2018
2.1.4 Nov 30, 2017
2.1.3 Nov 02, 2017
2.1.2 Oct 24, 2017
2.1.1 Oct 12, 2017
2.1 Oct 11, 2017
2.0.3 Aug 03, 2017
2.0.2 Jul 27, 2017
2.0.1 Jul 26, 2017
2.0 Jul 17, 2017
1.9 May 30, 2017
1.8.2 May 26, 2017
1.8.1 Mar 10, 2017
1.8 Mar 10, 2017
1.7.2 Jan 27, 2017
1.7.1 Dec 13, 2016
1.7 Dec 12, 2016
1.6 Nov 22, 2016
1.5.3 Nov 06, 2016
1.5.2 Sep 26, 2016
1.5.1 Sep 22, 2016
1.5 Aug 26, 2016
1.4 Jun 04, 2016
1.3.4 Jun 03, 2016
1.3.3 Jun 02, 2016
1.3.2 May 04, 2016
1.3.1 Mar 21, 2016
1.3 Mar 18, 2016
1.2.3 Mar 02, 2016
1.2.2 Jan 29, 2016
1.2.1 Jan 08, 2016
1.2 Jan 08, 2016
1.1.2 Dec 10, 2015
1.1.1 Nov 19, 2015
1.1 Oct 28, 2015
1.0.2 Sep 27, 2015
1.0.1 Sep 06, 2015
1.0 Aug 12, 2015
0.9.3 Jul 09, 2015
0.9.2 Jul 03, 2015
0.9.1 Jun 06, 2015
0.9 May 14, 2015
0.8.2 Apr 11, 2015
0.8.1 Mar 20, 2015
0.8 Mar 09, 2015
0.7.2 Jan 16, 2015
0.7.1 Dec 29, 2014
0.7 Dec 18, 2014
0.6.1 Oct 16, 2014
0.6 Sep 30, 2014
0.5.4 Aug 21, 2014
0.5.3 Aug 07, 2014
0.5.2 Jul 10, 2014
0.5.1 Jul 08, 2014
0.5 Jul 07, 2014
0.4 May 03, 2014
0.3 Mar 27, 2014
0.2.2 Mar 04, 2014
0.2.1 Feb 22, 2014
0.2 Feb 20, 2014
0.1 Jan 08, 2014

Wheel compatibility matrix

Platform CPython >=3.8 (abi3) CPython >=3.11 (abi3) CPython (additional flags: t) 3.14 PyPy 3.11 (pp73)
macosx_10_9_universal2
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_x86_64
manylinux_2_28_aarch64
manylinux_2_28_ppc64le
manylinux_2_28_x86_64
manylinux_2_31_armv7l
manylinux_2_34_aarch64
manylinux_2_34_ppc64le
manylinux_2_34_x86_64
musllinux_1_2_aarch64
musllinux_1_2_x86_64
win32
win_amd64

Files in release

cryptography-46.0.6-cp311-abi3-macosx_10_9_universal2.whl (6.8MiB)
cryptography-46.0.6-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_28_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_28_ppc64le.whl (4.7MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_28_x86_64.whl (4.3MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_31_armv7l.whl (3.8MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_34_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_34_ppc64le.whl (4.7MiB)
cryptography-46.0.6-cp311-abi3-manylinux_2_34_x86_64.whl (4.3MiB)
cryptography-46.0.6-cp311-abi3-musllinux_1_2_aarch64.whl (4.2MiB)
cryptography-46.0.6-cp311-abi3-musllinux_1_2_x86_64.whl (4.5MiB)
cryptography-46.0.6-cp311-abi3-win32.whl (2.9MiB)
cryptography-46.0.6-cp311-abi3-win_amd64.whl (3.3MiB)
cryptography-46.0.6-cp314-cp314t-macosx_10_9_universal2.whl (6.8MiB)
cryptography-46.0.6-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_28_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_28_ppc64le.whl (4.7MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_28_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_31_armv7l.whl (3.8MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_34_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_34_ppc64le.whl (4.6MiB)
cryptography-46.0.6-cp314-cp314t-manylinux_2_34_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp314-cp314t-musllinux_1_2_aarch64.whl (4.2MiB)
cryptography-46.0.6-cp314-cp314t-musllinux_1_2_x86_64.whl (4.4MiB)
cryptography-46.0.6-cp314-cp314t-win32.whl (2.9MiB)
cryptography-46.0.6-cp314-cp314t-win_amd64.whl (3.3MiB)
cryptography-46.0.6-cp38-abi3-macosx_10_9_universal2.whl (6.8MiB)
cryptography-46.0.6-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_28_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_28_ppc64le.whl (4.7MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_28_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_31_armv7l.whl (3.8MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_34_aarch64.whl (4.1MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_34_ppc64le.whl (4.7MiB)
cryptography-46.0.6-cp38-abi3-manylinux_2_34_x86_64.whl (4.2MiB)
cryptography-46.0.6-cp38-abi3-musllinux_1_2_aarch64.whl (4.2MiB)
cryptography-46.0.6-cp38-abi3-musllinux_1_2_x86_64.whl (4.4MiB)
cryptography-46.0.6-cp38-abi3-win32.whl (2.9MiB)
cryptography-46.0.6-cp38-abi3-win_amd64.whl (3.3MiB)
cryptography-46.0.6-pp311-pypy311_pp73-macosx_11_0_arm64.whl (3.3MiB)
cryptography-46.0.6-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl (4.0MiB)
cryptography-46.0.6-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl (4.2MiB)
cryptography-46.0.6-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl (4.0MiB)
cryptography-46.0.6-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl (4.2MiB)
cryptography-46.0.6-pp311-pypy311_pp73-win_amd64.whl (3.3MiB)
cryptography-46.0.6.tar.gz (733.0KiB)
Extras:
Dependencies:
cffi and (>=1.14)
cffi and (>=2.0.0)
typing-extensions (>=4.13.2)