python-bcrypt
Port variant v13
Summary Modern password hashing based on blowfish (3.13)
Package version 5.0.0
Homepage https://github.com/pyca/bcrypt/
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, 11:53:35 UTC
Port created 05 FEB 2019, 15:55:37 UTC
Subpackage Descriptions
single bcrypt ====== :alt: Latest Version Acceptable password hashing for your software and your servers Installation ============ To install bcrypt, simply: .. code:: bash $ pip install bcrypt Note that bcrypt should build very easily on Linux provided you have a C compiler and a Rust compiler (the minimum supported Rust version is 1.56.0). For Debian and Ubuntu, the following command will ensure that the required dependencies are installed: .. code:: bash $ sudo apt-get install build-essential cargo For Fedora and RHEL-derivatives, the following command will ensure that the required dependencies are installed: .. code:: bash $ sudo yum install gcc cargo For Alpine, the following command will ensure that the required dependencies are installed: .. code:: bash $ apk add --update musl-dev gcc cargo Alternatives ============ While bcrypt remains an acceptable choice for password storage, depending on your specific use case you may also want to consider using scrypt (either via `standard library`_ or `cryptography`_) or argon2id via `argon2_cffi`_. Changelog ========= 4.0.0 ----- * bcrypt is now implemented in Rust. Users building from source will need to have a Rust compiler available. Nothing will change for users downloading wheels. * We no longer ship manylinux2010 wheels. Users should upgrade to the latest pip to ensure this doesn’t cause issues downloading wheels on their platform. We now ship manylinux_2_28 wheels for users on new enough platforms. * NUL bytes are now allowed in inputs. 3.2.2 ----- * Fixed packaging of ``py.typed files in wheels so that mypy`` works. 3.2.1 ----- * Added support for compilation on z/OS * The next release of bcrypt with be 4.0 and it will require Rust at compile time, for users building from source. There will be no additional requirement for users who are installing from wheels. Users on most platforms will be able to obtain a wheel by making sure they have an up to date pip. The minimum supported Rust version will be 1.56.0. * This will be the final release for which we ship manylinux2010 wheels. Going forward the minimum supported manylinux ABI for our wheels will be manylinux2014. The vast majority of users will continue to receive manylinux wheels provided they have an up to date pip. 3.2.0 ----- * Added typehints for library functions. * Dropped support for Python versions less than 3.6 (2.7, 3.4, 3.5). * Shipped abi3 Windows wheels (requires pip >= 20). 3.1.7 ----- * Set a setuptools lower bound for PEP517 wheel building. * We no longer distribute 32-bit manylinux1 wheels. Continuing to produce them was a maintenance burden.
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
rust:single:std
python313:dev:std
python-setuptools:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main mirror://PYPI/b/bcrypt
cr01 mirror://CRATES/autocfg:1.5.0
cr02 mirror://CRATES/base64:0.22.1
cr03 mirror://CRATES/bcrypt:0.17.1
cr04 mirror://CRATES/bcrypt-pbkdf:0.10.0
cr05 mirror://CRATES/block-buffer:0.10.4
cr06 mirror://CRATES/blowfish:0.9.1
cr07 mirror://CRATES/byteorder:1.5.0
cr08 mirror://CRATES/cfg-if:1.0.3
cr09 mirror://CRATES/cipher:0.4.4
cr10 mirror://CRATES/cpufeatures:0.2.17
cr11 mirror://CRATES/crypto-common:0.1.6
cr12 mirror://CRATES/digest:0.10.7
cr13 mirror://CRATES/generic-array:0.14.7
cr14 mirror://CRATES/getrandom:0.3.3
cr15 mirror://CRATES/heck:0.5.0
cr16 mirror://CRATES/indoc:2.0.6
cr17 mirror://CRATES/inout:0.1.4
cr18 mirror://CRATES/libc:0.2.176
cr19 mirror://CRATES/memoffset:0.9.1
cr20 mirror://CRATES/once_cell:1.21.3
cr21 mirror://CRATES/pbkdf2:0.12.2
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/r-efi:5.3.0
cr31 mirror://CRATES/sha2:0.10.9
cr32 mirror://CRATES/subtle:2.6.1
cr33 mirror://CRATES/syn:2.0.106
cr34 mirror://CRATES/target-lexicon:0.13.3
cr35 mirror://CRATES/typenum:1.18.0
cr36 mirror://CRATES/unicode-ident:1.0.19
cr37 mirror://CRATES/unindent:0.2.4
cr38 mirror://CRATES/version_check:0.9.5
cr39 mirror://CRATES/wasi:0.14.7+wasi-0.2.4
cr40 mirror://CRATES/wasip2:1.0.1+wasi-0.2.4
cr41 mirror://CRATES/wit-bindgen:0.46.0
cr42 mirror://CRATES/zeroize:1.8.1
Distribution File Information
f748f7c2d6fd375cc93d3fba7ef4a9e3a092421b8dbf34d8d4dc06be9492dfdd 25386 rust/crates/bcrypt-5.0.0.tar.gz c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 18729 rust/crates/autocfg-1.5.0.tar.gz 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 81597 rust/crates/base64-0.22.1.tar.gz abaf6da45c74385272ddf00e1ac074c7d8a6c1a1dda376902bd6a427522a8b2c 12542 rust/crates/bcrypt-0.17.1.tar.gz 6aeac2e1fe888769f34f05ac343bbef98b14d1ffb292ab69d4608b3abc86f2a2 11032 rust/crates/bcrypt-pbkdf-0.10.0.tar.gz 3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71 10538 rust/crates/block-buffer-0.10.4.tar.gz e412e2cd0f2b2d93e02543ceae7917b3c70331573df19ee046bcbc35e45e87d7 16734 rust/crates/blowfish-0.9.1.tar.gz 1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b 23288 rust/crates/byteorder-1.5.0.tar.gz 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9 8719 rust/crates/cfg-if-1.0.3.tar.gz 773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad 19073 rust/crates/cipher-0.4.4.tar.gz 59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280 13466 rust/crates/cpufeatures-0.2.17.tar.gz 1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3 8760 rust/crates/crypto-common-0.1.6.tar.gz 9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292 19557 rust/crates/digest-0.10.7.tar.gz 85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a 15950 rust/crates/generic-array-0.14.7.tar.gz 26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4 49493 rust/crates/getrandom-0.3.3.tar.gz 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea 11517 rust/crates/heck-0.5.0.tar.gz f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd 17164 rust/crates/indoc-2.0.6.tar.gz 879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01 11280 rust/crates/inout-0.1.4.tar.gz 58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174 790040 rust/crates/libc-0.2.176.tar.gz 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a 9032 rust/crates/memoffset-0.9.1.tar.gz 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d 34534 rust/crates/once_cell-1.21.3.tar.gz f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2 13906 rust/crates/pbkdf2-0.12.2.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 69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f 64532 rust/crates/r-efi-5.3.0.tar.gz a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283 29271 rust/crates/sha2-0.10.9.tar.gz 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292 14562 rust/crates/subtle-2.6.1.tar.gz ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6 301514 rust/crates/syn-2.0.106.tar.gz df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c 28498 rust/crates/target-lexicon-0.13.3.tar.gz 1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f 74871 rust/crates/typenum-1.18.0.tar.gz f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d 47480 rust/crates/unicode-ident-1.0.19.tar.gz 7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3 7422 rust/crates/unindent-0.2.4.tar.gz 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a 15554 rust/crates/version_check-0.9.5.tar.gz 883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c 18219 rust/crates/wasi-0.14.7+wasi-0.2.4.tar.gz 0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7 132087 rust/crates/wasip2-1.0.1+wasi-0.2.4.tar.gz f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59 60508 rust/crates/wit-bindgen-0.46.0.tar.gz ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde 20029 rust/crates/zeroize-1.8.1.tar.gz
Ports that require python-bcrypt:v13
python-paramiko:v13 SSH2 protocol library (3.13)