--- /tmp/python-argon2-18.3.0-20rqpfqk6/debian/python-argon2-doc_18.3.0-2_all.deb +++ python-argon2-doc_18.3.0-2_all.deb ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── ./usr/share/doc/python-argon2-doc/html/api.html │ │ │ @@ -83,23 +83,23 @@ │ │ │ parameters and to verify the parameters only once. Any unnecessary │ │ │ slowdown when hashing is a tangible advantage for a brute force attacker.
│ │ │Parameters: |
|
│ │ │
---|
Return type: | bool | │ │ │ +
---|---|
Return type: | bool | │ │ │
New in version 18.2.0.
│ │ │True
on success, raise
│ │ │ VerificationError
otherwise.
Changed in version 16.1.0: Raise VerifyMismatchError
on mismatches
│ │ │ instead of its more generic superclass.
argon2.
extract_parameters
(hash)¶Extract parameters from an encoded hash.
│ │ │Parameters: | params (str) – An encoded Argon2 hash string. | │ │ │ +
---|---|
Parameters: | params (str) – An encoded Argon2 hash string. | │ │ │
Return type: | Parameters | │ │ │
New in version 18.2.0.
│ │ │ @@ -304,21 +304,21 @@ │ │ │Argon2 hash parameters.
│ │ │See Choosing Parameters on how to pick them.
│ │ │Variables: |
|
│ │ │
---|
New in version 18.2.0.
│ │ │ @@ -388,30 +388,30 @@ │ │ │An encoded hash can be directly passed into verify_secret()
as it
│ │ │ contains all parameters and the salt.
Parameters: |
|
│ │ │
---|
For an explanation of the Argon2 parameters see PasswordHasher
.
Return type: | bytes | │ │ │ +
---|---|
Return type: | bytes | │ │ │
Raises: | argon2.exceptions.HashingError – If hashing fails. | │ │ │
New in version 16.0.0.
│ │ │ @@ -431,17 +431,17 @@ │ │ │argon2.low_level.
verify_secret
(hash, secret, type)¶
│ │ │ Verify whether secret is correct for hash of type.
│ │ │Parameters: |
|
│ │ │
---|---|
Raises: |
|
│ │ │
Returns: |
|
│ │ │
Return type: | │ │ │ + |
Return type: | │ │ │ | │ │ │
New in version 16.0.0.
│ │ │Parameters: | │ │ │ | │ │ │
---|---|
Return type: | │ │ │ + |
Return type: | │ │ │ | │ │ │
Returns: | An Argon2 error code. Can be transformed into a string using
│ │ │ |
│ │ │
Parameters: | error (int) – An Argon2 error code as returned by core() . |
│ │ │ +
---|---|
Parameters: | error (int) – An Argon2 error code as returned by core() . |
│ │ │
Return type: | str | │ │ │ +
Return type: | str | │ │ │
New in version 16.0.0.
│ │ │argon2_cffi
has a very strong backward compatibility policy.
│ │ │ Generally speaking, you shouldn’t ever be afraid of updating.
If breaking changes are needed do be done, they are:
│ │ │DeprecationWarning
for a year.DeprecationWarning
for a year.What explicitly may change over time are the default hashing parameters and the behavior of the CLI.
│ │ │