first commit

This commit is contained in:
Ayxan
2022-05-23 00:16:32 +04:00
commit d660f2a4ca
24786 changed files with 4428337 additions and 0 deletions

View File

@ -0,0 +1 @@
pip

View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015 Hynek Schlawack
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -0,0 +1,125 @@
Metadata-Version: 2.1
Name: argon2-cffi
Version: 21.3.0
Summary: The secure Argon2 password hashing algorithm.
Keywords: password,hash,hashing,security
Author-email: Hynek Schlawack <hs@ox.cx>
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Programming Language :: Python
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: argon2-cffi-bindings
Requires-Dist: dataclasses; python_version < '3.7'
Requires-Dist: typing-extensions; python_version < '3.8'
Requires-Dist: pre-commit ; extra == "dev"
Requires-Dist: cogapp ; extra == "dev"
Requires-Dist: tomli ; extra == "dev"
Requires-Dist: coverage[toml]>=5.0.2 ; extra == "dev"
Requires-Dist: hypothesis ; extra == "dev"
Requires-Dist: pytest ; extra == "dev"
Requires-Dist: sphinx ; extra == "dev"
Requires-Dist: sphinx-notfound-page ; extra == "dev"
Requires-Dist: furo ; extra == "dev"
Requires-Dist: sphinx ; extra == "docs"
Requires-Dist: sphinx-notfound-page ; extra == "docs"
Requires-Dist: furo ; extra == "docs"
Requires-Dist: coverage[toml]>=5.0.2 ; extra == "tests"
Requires-Dist: hypothesis ; extra == "tests"
Requires-Dist: pytest ; extra == "tests"
Project-URL: Changelog, https://github.com/hynek/argon2-cffi/blob/main/CHANGELOG.md
Project-URL: Documentation, https://argon2-cffi.readthedocs.io/
Project-URL: Funding, https://github.com/sponsors/hynek
Project-URL: Ko-fi, https://ko-fi.com/the_hynek
Project-URL: Source Code, https://github.com/hynek/argon2-cffi
Project-URL: Tidelift, https://tidelift.com/subscription/pkg/pypi-argon2-cffi?utm_source=pypi-argon2-cffi&utm_medium=pypi
Provides-Extra: dev
Provides-Extra: docs
Provides-Extra: tests
===================
*Argon2* for Python
===================
.. image:: https://img.shields.io/badge/Docs-Read%20The%20Docs-black
:target: https://argon2-cffi.readthedocs.io/
:alt: Documentation
.. image:: https://img.shields.io/badge/license-MIT-C06524
:target: https://github.com/hynek/argon2-cffi/blob/main/LICENSE
:alt: License: MIT
.. image:: https://img.shields.io/pypi/v/argon2-cffi
:target: https://pypi.org/project/argon2-cffi/
:alt: PyPI version
.. image:: https://static.pepy.tech/personalized-badge/argon2-cffi?period=month&units=international_system&left_color=grey&right_color=blue&left_text=Downloads%20/%20Month
:target: https://pepy.tech/project/argon2-cffi
:alt: Downloads / Month
.. -begin-short-
`Argon2 <https://github.com/p-h-c/phc-winner-argon2>`_ won the `Password Hashing Competition <https://www.password-hashing.net/>`_ and *argon2-cffi* is the simplest way to use it in Python and PyPy:
.. code-block:: pycon
>>> 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
.. -end-short-
.. -begin-meta-
Project Information
===================
*argon2-cffi* is available from `PyPI <https://pypi.org/project/argon2-cffi/>`_, the documentation lives at `Read the Docs <https://argon2-cffi.readthedocs.io/>`_, the code on `GitHub <https://github.com/hynek/argon2-cffi>`_.
The low-level Argon2 CFFI bindings are maintained in the separate project `argon2-cffi-bindings <https://github.com/hynek/argon2-cffi-bindings>`_.
It targets Python 3.6 and newer, and PyPy3.
The last version that works with Python 2.7 is 20.1.0, and the last version that works with Python 3.5 is 21.1.0.
*argon2-cffi* implements *Argon2* version 1.3, as described in
`Argon2: the memory-hard function for password hashing and other applications <https://www.cryptolux.org/images/0/0d/Argon2.pdf>`_.
*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. <https://tidelift.com/subscription/pkg/pypi-argon2-cffi?utm_source=undefined&utm_medium=referral&utm_campaign=enterprise&utm_term=repo>`_
.. -end-meta-

View File

@ -0,0 +1,24 @@
argon2/__init__.py,sha256=JZSCl6vlXT-hsLd31zL--EvT1hW2G5IZGPXk_WCxDeQ,1108
argon2/__main__.py,sha256=tR8a-9fCvvC1dYWgXZohup_ROrZ_cv980_rtEi92Qhc,2493
argon2/__pycache__/__init__.cpython-310.pyc,,
argon2/__pycache__/__main__.cpython-310.pyc,,
argon2/__pycache__/_legacy.cpython-310.pyc,,
argon2/__pycache__/_password_hasher.cpython-310.pyc,,
argon2/__pycache__/_typing.cpython-310.pyc,,
argon2/__pycache__/_utils.cpython-310.pyc,,
argon2/__pycache__/exceptions.cpython-310.pyc,,
argon2/__pycache__/low_level.cpython-310.pyc,,
argon2/__pycache__/profiles.cpython-310.pyc,,
argon2/_legacy.py,sha256=Hh83CW3fU1FqFVmtdl1yw1Eo0LvrZuZydqWvDSZ8jSA,1963
argon2/_password_hasher.py,sha256=x7OWLqiE59ogVsHJ5FbIdYOSwqZoSFojTy9mx3-qxF4,7873
argon2/_typing.py,sha256=tPTChp3XfRzSlMwuAOWk_Kf4EAeCixJRaYuNhWCKjoE,268
argon2/_utils.py,sha256=CWTjvZAMYJyAIHleWBYdlgJ8lXMgTwMYybupWGLOzXQ,3170
argon2/exceptions.py,sha256=kzXiwp5esV5y2QJwRy-PJxRFsq_hpXegM5zsCU3MHbQ,793
argon2/low_level.py,sha256=jelRHixvFvfzusWrQfVugfTNrLV9Dmm8409jGvGnCuc,6900
argon2/profiles.py,sha256=EWsastrydLkTEaTdso1N9oDj7QTPtafiqFXukccgyD4,1225
argon2/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
argon2_cffi-21.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
argon2_cffi-21.3.0.dist-info/LICENSE,sha256=v2WaKLSSQGAvVrvfSQy-LsUJsVuY-Z17GaUsdA4yeGM,1082
argon2_cffi-21.3.0.dist-info/METADATA,sha256=LEA7w1mPR60WCcQpu9xGNyZM5lrFWKTIguYpzJKIpAw,5443
argon2_cffi-21.3.0.dist-info/RECORD,,
argon2_cffi-21.3.0.dist-info/WHEEL,sha256=LVOPL_YDMEiGvRLgDK1hLkfhFCnTcxcAYZJtpNFses0,81

View File

@ -0,0 +1,4 @@
Wheel-Version: 1.0
Generator: flit 3.5.1
Root-Is-Purelib: true
Tag: py3-none-any