We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d3880 commit 6f33cd1Copy full SHA for 6f33cd1
tests/test_trad_crypto.py
@@ -27,8 +27,8 @@ def test_aes_encrypt_decrypt():
27
assert key != password, "Derived key should not match plaintext password"
28
assert data != key, "Derived key should not match data"
29
assert data != salt, "Derived salt should not match data"
30
- assert len(key) == ARGON2ID_OUTPUT_LEN, "key length does not match constant length"
31
- assert len(salt) == ARGON2ID_SALT_LEN, "salt length does not match constant length"
+ assert len(key) == ARGON2_OUTPUT_LEN, "key length does not match constant length"
+ assert len(salt) == ARGON2_SALT_LEN, "salt length does not match constant length"
32
33
key = key[:32]
34
0 commit comments