python-cryptography
Port variant v13
Summary Cryptographic recipes and primitives (3.13)
Package version 46.0.2
Homepage https://github.com/pyca/cryptography
Keywords python, rust
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 08 OCT 2025, 17:33:03 UTC
Port created 05 FEB 2019, 15:55:37 UTC
Subpackage Descriptions
single pyca/cryptography ================= :alt: Latest Version :alt: Latest Docs 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
Configuration Switches (platform-specific settings discarded)
PY312 OFF Build using Python 3.12 PY313 ON Build using Python 3.13
Package Dependencies by Type
Build (only) python-setuptools-rust:single:v13
python-maturin:single:v13
pkgconf:primary:std
libressl:dev:std
rust:single:std
python313:dev:std
python-pip:single:v13
python-setuptools:single:v13
python-wheel:single:v13
python-build:single:v13
python-installer:single:v13
autoselect-python:single:std
Build and Runtime python-cffi:single:v13
libressl:primary:std
python313:primary:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main mirror://PYPI/c/cryptography
cr01 mirror://CRATES/asn1:0.22.0
cr02 mirror://CRATES/asn1_derive:0.22.0
cr03 mirror://CRATES/autocfg:1.5.0
cr04 mirror://CRATES/base64:0.22.1
cr05 mirror://CRATES/bitflags:2.9.4
cr06 mirror://CRATES/cc:1.2.37
cr07 mirror://CRATES/cfg-if:1.0.3
cr08 mirror://CRATES/find-msvc-tools:0.1.1
cr09 mirror://CRATES/foreign-types:0.3.2
cr10 mirror://CRATES/foreign-types-shared:0.1.1
cr11 mirror://CRATES/heck:0.5.0
cr12 mirror://CRATES/indoc:2.0.6
cr13 mirror://CRATES/itoa:1.0.15
cr14 mirror://CRATES/libc:0.2.175
cr15 mirror://CRATES/memoffset:0.9.1
cr16 mirror://CRATES/once_cell:1.21.3
cr17 mirror://CRATES/openssl:0.10.73
cr18 mirror://CRATES/openssl-macros:0.1.1
cr19 mirror://CRATES/openssl-sys:0.9.109
cr20 mirror://CRATES/pem:3.0.5
cr21 mirror://CRATES/pkg-config:0.3.32
cr22 mirror://CRATES/portable-atomic:1.11.1
cr23 mirror://CRATES/proc-macro2:1.0.101
cr24 mirror://CRATES/pyo3:0.26.0
cr25 mirror://CRATES/pyo3-build-config:0.26.0
cr26 mirror://CRATES/pyo3-ffi:0.26.0
cr27 mirror://CRATES/pyo3-macros:0.26.0
cr28 mirror://CRATES/pyo3-macros-backend:0.26.0
cr29 mirror://CRATES/quote:1.0.40
cr30 mirror://CRATES/self_cell:1.2.0
cr31 mirror://CRATES/shlex:1.3.0
cr32 mirror://CRATES/syn:2.0.106
cr33 mirror://CRATES/target-lexicon:0.13.3
cr34 mirror://CRATES/unicode-ident:1.0.19
cr35 mirror://CRATES/unindent:0.2.4
cr36 mirror://CRATES/vcpkg:0.2.15
Distribution File Information
21b6fc8c71a3f9a604f028a329e5560009cc4a3a828bfea5fcba8eb7647d88fe 749293 rust/crates/cryptography-46.0.2.tar.gz df42c2b01c5e1060b8281f67b4e5fb858260694916a667345a7305cd11e5dbfa 47124 rust/crates/asn1-0.22.0.tar.gz cdccf849b54365e3693e9a90ad36e4482b79937e6373ac8e2cf229c985187b21 8953 rust/crates/asn1_derive-0.22.0.tar.gz c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 18729 rust/crates/autocfg-1.5.0.tar.gz 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 81597 rust/crates/base64-0.22.1.tar.gz 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394 47950 rust/crates/bitflags-2.9.4.tar.gz 65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44 90111 rust/crates/cc-1.2.37.tar.gz 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9 8719 rust/crates/cfg-if-1.0.3.tar.gz 7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d 30228 rust/crates/find-msvc-tools-0.1.1.tar.gz f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1 7504 rust/crates/foreign-types-0.3.2.tar.gz 00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b 5672 rust/crates/foreign-types-shared-0.1.1.tar.gz 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea 11517 rust/crates/heck-0.5.0.tar.gz f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd 17164 rust/crates/indoc-2.0.6.tar.gz 4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c 11231 rust/crates/itoa-1.0.15.tar.gz 6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543 788728 rust/crates/libc-0.2.175.tar.gz 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a 9032 rust/crates/memoffset-0.9.1.tar.gz 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d 34534 rust/crates/once_cell-1.21.3.tar.gz 8505734d46c8ab1e19a1dce3aef597ad87dcb4c37e7188231769bd6bd51cebf8 283994 rust/crates/openssl-0.10.73.tar.gz a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c 5601 rust/crates/openssl-macros-0.1.1.tar.gz 90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571 78247 rust/crates/openssl-sys-0.9.109.tar.gz 38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3 18140 rust/crates/pem-3.0.5.tar.gz 7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c 21370 rust/crates/pkg-config-0.3.32.tar.gz f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483 185506 rust/crates/portable-atomic-1.11.1.tar.gz 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de 53886 rust/crates/proc-macro2-1.0.101.tar.gz 7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383 1151579 rust/crates/pyo3-0.26.0.tar.gz 4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f 34309 rust/crates/pyo3-build-config-0.26.0.tar.gz 025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105 78247 rust/crates/pyo3-ffi-0.26.0.tar.gz 2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded 8906 rust/crates/pyo3-macros-0.26.0.tar.gz 100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf 81809 rust/crates/pyo3-macros-backend-0.26.0.tar.gz 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d 31063 rust/crates/quote-1.0.40.tar.gz 0f7d95a54511e0c7be3f51e8867aa8cf35148d7b9445d44de2f943e2b206e749 16883 rust/crates/self_cell-1.2.0.tar.gz 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 18713 rust/crates/shlex-1.3.0.tar.gz ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6 301514 rust/crates/syn-2.0.106.tar.gz df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c 28498 rust/crates/target-lexicon-0.13.3.tar.gz f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d 47480 rust/crates/unicode-ident-1.0.19.tar.gz 7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3 7422 rust/crates/unindent-0.2.4.tar.gz accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426 228735 rust/crates/vcpkg-0.2.15.tar.gz
Ports that require python-cryptography:v13
python-ansible-core:v13 Radically simple IT automation (3.13)
python-paramiko:v13 SSH2 protocol library (3.13)