argon2-cffi-bindings
Low-level CFFI bindings for Argon2
Install
argon2-cffi-bindings on PyPI
pip
pip install argon2-cffi-bindingsuv
uv add argon2-cffi-bindingspoetry
poetry add argon2-cffi-bindingsPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — cffi |
| Maintenance | actively maintained — 379 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_10_13_universal2.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_10_13_x86_64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-macosx_11_0_arm64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-win32.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-win_amd64.whl; argon2_cffi_bindings-25.1.0-cp314-cp314t-win_arm64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_10_9_universal2.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_10_9_x86_64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-macosx_11_0_arm64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-musllinux_1_2_aarch64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-musllinux_1_2_x86_64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-win32.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-win_amd64.whl; argon2_cffi_bindings-25.1.0-cp39-abi3-win_arm64.whl
Keywords: password, hash, hashing, security, bindings, cffi
About argon2-cffi-bindings
from the package's own PyPI description — quoted content, verbatim
Low-level Python CFFI Bindings for Argon2
License: MIT (image) PyPI version (image) PyPI - Python Version (image)
argon2-cffi-bindings provides low-level CFFI bindings to the official implementation of the [Argon2] password hashing algorithm.
<!-- [[[cog
Extract commit ID; refresh using tox -e cog-render
import subprocess
out = subprocess.check_output(["git", "submodule"], text=True)
id = out.strip().split(" ", 1)[0]
link = f'{id[:7]}'
print(f"The currently vendored Argon2 commit ID is {link}.")
]]] -->
The currently vendored Argon2 commit ID is f57e61e.
<!-- [[[end]]] -->
> [!NOTE] > If you want to hash passwords in an application, this package is not for...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm, intended as a foundation for higher-level libraries rather than direct application use.
Medium install friction due to compiled C bindings via cffi, but mitigated by extensive pre-built wheels across Python 3.9–3.14 and major platforms (macOS, Linux, Windows, including ARM). Active maintenance with recent release (379 days ago as of fact sheet date).
MIT license permits unrestricted use, modification, and distribution in both open and proprietary contexts, with minimal obligations beyond attribution.
Usage
pip install argon2-cffi-bindings
from _argon2_cffi_bindings import ffi, lib
# Use ffi and lib objects per CFFI documentation for Argon2 operations
Requires Python ≥3.9; C compiler and cffi build dependencies for source installs (pre-built wheels available for most platforms).
Verdict: A stable, actively maintained low-level binding library suitable for packages that need direct Argon2 access without the overhead of higher-level abstractions. No known vulnerabilities, permissive MIT license, and broad platform/Python version coverage make it a reliable foundation dependency. Not intended for direct application use—consider argon2-cffi instead if you need password hashing abstractions.
Needs verification
- Whether the vendored Argon2 commit f57e61e includes all security patches since its upstream release date.
- Performance characteristics of SSE2 detection heuristics on non-x86 architectures or cross-compilation scenarios.
- Whether the private module name (_argon2_cffi_bindings) effectively prevents accidental direct use in downstream applications.
Similar packages
permissive · top 1,000 on PyPI
cffipermissive · top 100 on PyPI
bcryptpermissive · top 1,000 on PyPI
PyNaClpermissive · top 1,000 on PyPI
passlibpermissive · top 1,000 on PyPI
structlogpermissive · top 1,000 on PyPI
attrspermissive · top 100 on PyPI
murmurhashpermissive · top 1,000 on PyPI
google-crc32cunclear · top 1,000 on PyPI
pycryptodomepermissive · top 1,000 on PyPI