Files
ServerSync/lib/nacl/pwhash/__pycache__/_argon2.cpython-314.pyc

20 lines
2.0 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
u<10>i<EFBFBD><00><00><><00>^RIt]PPt]^,
t]PP t]PPt ]PPt ]^,
t]PPt ]PPt]PP t]PP$t]PP(tRRltR#)<04>Nc<00><<00>V^8<>dQhR\R\R\/#)<04><00> password_hash<73>password<72>return)<02>bytes<65>bool)<01>formats"<22>:/tmp/pip-target-zhdecbcm/lib/python/nacl/pwhash/_argon2.py<70> __annotate__r #s&<00><00>K<01>K<01>%<25>K<01>5<EFBFBD>K<01>T<EFBFBD>K<01>c<04>@<00>\PPW4#)ay
Takes a modular crypt encoded argon2i or argon2id stored password hash
and checks if the user provided password will hash to the same string
when using the stored parameters
:param password_hash: password hash serialized in modular crypt() format
:type password_hash: bytes
:param password: user provided password
:type password: bytes
:rtype: boolean
.. versionadded:: 1.2
)<03>nacl<63>bindings<67>crypto_pwhash_str_verify)rrs&&r <00>verifyr#s<00><00> <10>=<3D>=<3D> 1<> 1<>-<2D> J<>Jr )<17> nacl.bindingsrr<00>crypto_pwhash_STRBYTES<45>_argon2_strbytes_plus_one<6E> PWHASH_SIZE<5A>crypto_pwhash_SALTBYTES<45> SALTBYTES<45>crypto_pwhash_PASSWD_MIN<49>
PASSWD_MIN<EFBFBD>crypto_pwhash_PASSWD_MAX<41>
PASSWD_MAX<EFBFBD>crypto_pwhash_BYTES_MAX<41> BYTES_MAX<41>crypto_pwhash_BYTES_MIN<49> BYTES_MIN<49>crypto_pwhash_ALG_ARGON2I13<31> ALG_ARGON2I13<31>crypto_pwhash_ALG_ARGON2ID13<31>ALG_ARGON2ID13<31>crypto_pwhash_ALG_DEFAULT<4C>ALG_ARGON2_DEFAULTr<00>r r <00><module>r(s<><00><01><15> <20>M<EFBFBD>M<EFBFBD>@<40>@<40><19>'<27>!<21>+<2B> <0B> <10>M<EFBFBD>M<EFBFBD> 1<> 1<> <09> <11>]<5D>]<5D> 3<> 3<>
<EFBFBD> <11>]<5D>]<5D> 3<> 3<>
<EFBFBD>'<27>!<21>+<2B> <0B> <10>M<EFBFBD>M<EFBFBD> 1<> 1<> <09> <10>M<EFBFBD>M<EFBFBD> 1<> 1<> <09><14> <0A> <0A>9<>9<> <0A><15><1D><1D>;<3B>;<3B><0E><19>]<5D>]<5D><<3C><<3C><12>Kr