argon2-cffi-bindings
Low-level CFFI bindings for Argon2
Decision gist · record as of 2026-08-14
Yes, if you are building a library or framework that needs Argon2 and wants to manage the bindings directly. No, if you are writing an end-user application—use argon2-cffi instead for its high-level API. The package is actively maintained, has no known vulnerabilities, and provides good platform coverage, but the medium install friction and private module naming (to prevent accidental direct use) signal that this is a dependency for other packages, not a direct consumer tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; compiled wheels are provided but building from source requires a C compiler and cffi.
- Medium install friction due to compiled wheel dependencies across multiple platforms (macOS, Linux, Windows, ARM).
- Active maintenance with recent commits and binary wheels available for most architectures.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes minimal restrictions; you can use this package freely in commercial and open-source projects with only attribution required.
last release 2025-07-30 (380 days) · last repo commit 2026-08-06 · 20 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 74,176,984 downloads/mo, #453 on PyPI
Alternatives
Verify before relying
from _argon2_cffi_bindings import ffi, lib
# Access Argon2 functions via the lib object
# Refer to cffi documentation for usage patterns- Whether the vendored Argon2 commit f57e61e includes all security patches relative to the latest upstream Argon2 release.
- Performance characteristics and whether SSE2 optimization is automatically detected correctly on all target platforms.
What it is and what it does
argon2-cffi-bindings is a low-level wrapper around the official Argon2 password hashing algorithm, exposing it through CFFI for direct C-level access. It vendors a copy of the Argon2 reference implementation and compiles it into binary wheels for multiple platforms. This package is designed as an implementation detail for libraries like argon2-cffi that need Argon2 functionality; end-user applications should use higher-level packages instead.
The package handles platform-specific compilation details, including optional SSE2 optimization and support for both standard and free-threading Python builds. It supports modern Python versions from 3.9 onward across CPython and PyPy, with binary wheels available for macOS, Linux, Windows, and ARM architectures. Users can optionally disable the vendored Argon2 and link against a system installation via environment variables.
Use it for
- Building a password hashing library that wraps Argon2 with custom abstractions or additional features.
- Implementing authentication systems that require direct control over Argon2 parameters like memory cost and time cost.
- Creating security-sensitive applications where you need to use Argon2 without depending on higher-level abstractions.
- Integrating Argon2 into cryptographic frameworks or key derivation pipelines that call C functions directly.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a library or framework that needs Argon2 and wants to manage the bindings directly.
No, if you are writing an end-user application—use argon2-cffi instead for its high-level API. The package is actively maintained, has no known vulnerabilities, and provides good platform coverage, but the medium install friction and private module naming (to prevent accidental direct use) signal that this is a dependency for other packages, not a direct consumer tool.
Install
argon2-cffi-bindings on PyPI
Before you install
Medium install friction due to compiled wheel dependencies across multiple platforms (macOS, Linux, Windows, ARM). Active maintenance with recent commits and binary wheels available for most architectures. Requires cffi as a runtime dependency.
Requires Python 3.9 or later; compiled wheels are provided but building from source requires a C compiler and cffi.
License in practice
MIT license is permissive and imposes minimal restrictions; you can use this package freely in commercial and open-source projects with only attribution required.
Quickstart
from _argon2_cffi_bindings import ffi, lib
# Access Argon2 functions via the lib object
# Refer to cffi documentation for usage patterns
Verify before relying
- Whether the vendored Argon2 commit f57e61e includes all security patches relative to the latest upstream Argon2 release.
- Performance characteristics and whether SSE2 optimization is automatically detected correctly on all target platforms.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 1 packagecffi |
| Maintenance | Actively maintained 380 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,176,984 / month, #453 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Free ThreadingProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: SecurityTopic :: Security :: CryptographyTopic :: Software Development :: Libraries :: Python Modules |
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
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “argon2 password hashing bindings”
- argon2-cffi-bindingsProvides low-level CFFI bindings to the official Argon2 password…
- argon2-cffiProvides a simple Python interface to Argon2, a modern password…
- pwdlibProvides a modern, easy-to-use wrapper for hashing and verifying…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also argon2-cffi · pact-python-ffi · pwdlib · keyrings.cryptfile · PyNaCl · curl-cffi · bcrypt · murmurhash · libpass · pycryptodomex