experimental/cuda-ubi9/: argon2-cffi-23.1.0 metadata and description

Simple index

Argon2 for Python

author_email Hynek Schlawack <hs@ox.cx>
classifiers
  • Development Status :: 5 - Production/Stable
  • Intended Audience :: Developers
  • License :: OSI Approved :: MIT License
  • Operating System :: MacOS :: MacOS X
  • Operating System :: Microsoft :: Windows
  • Operating System :: POSIX
  • Operating System :: Unix
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: Implementation :: CPython
  • Programming Language :: Python :: Implementation :: PyPy
  • Topic :: Security :: Cryptography
  • Topic :: Software Development :: Libraries :: Python Modules
description_content_type text/markdown
keywords hash,hashing,password,security
project_urls
  • Documentation, https://argon2-cffi.readthedocs.io/
  • Changelog, https://github.com/hynek/argon2-cffi/blob/main/CHANGELOG.md
  • GitHub, https://github.com/hynek/argon2-cffi
  • Funding, https://github.com/sponsors/hynek
  • Tidelift, https://tidelift.com/?utm_source=lifter&utm_medium=referral&utm_campaign=hynek
provides_extras typing
requires_dist
  • argon2-cffi-bindings
  • typing-extensions; python_version < '3.8'
  • hypothesis; extra == 'dev'
  • mypy; extra == 'dev'
  • pytest; extra == 'dev'
  • tox>4; extra == 'dev'
  • furo; extra == 'docs'
  • myst-parser; extra == 'docs'
  • sphinx; extra == 'docs'
  • sphinx-copybutton; extra == 'docs'
  • sphinx-notfound-page; extra == 'docs'
  • hypothesis; extra == 'tests'
  • pytest; extra == 'tests'
  • mypy; extra == 'typing'
requires_python >=3.7
File Tox results History
argon2_cffi-23.1.0-py3-none-any.whl
Size
15 KB
Type
Python Wheel
Python
3

argon2-cffi: Argon2 for Python

Argon2 won the Password Hashing Competition and argon2-cffi is the simplest way to use it in Python:

>>> from argon2 import PasswordHasher
>>> ph = PasswordHasher()
>>> hash = ph.hash("correct horse battery staple")
>>> hash  # doctest: +SKIP
'$argon2id$v=19$m=65536,t=3,p=4$MIIRqgvgQbgj220jfp0MPA$YfwJSVjtjSU0zzV/P3S9nnQ/USre2wvJMjfCIjrTQbg'
>>> ph.verify(hash, "correct horse battery staple")
True
>>> ph.check_needs_rehash(hash)
False
>>> ph.verify(hash, "Tr0ub4dor&3")
Traceback (most recent call last):
  ...
argon2.exceptions.VerifyMismatchError: The password does not match the supplied hash

Project Links

Release Information

Removed

Deprecated

Added


→ Full Changelog

Credits

argon2-cffi is maintained by Hynek Schlawack.

The development is kindly supported by my employer Variomedia AG, argon2-cffi Tidelift subscribers, and my amazing GitHub Sponsors.

argon2-cffi for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of argon2-cffi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open-source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. Learn more.