Questions tagged [argon2-cffi]
10 questions
2
votes
1 answer
What "flavour" of Argon2 is used by python module argon2-cffi?
Argon2 v1.3 is the algorithm used by python module argon2-cffi.
In the documentation they state the following:
"argon2-cffi implements Argon2 version 1.3, as described in in: Argon2: the memory-hard function for
password hashing and other…

Angelo van Meurs
- 139
- 11
1
vote
0 answers
Argon2 hash key output is over 32 bytes
I am learning cryptography and started a simple project where I intend on using Argon2 to hash my password with a randomly generated salt and then use this hash to generate cipher text and encrypt data using AES algorithm.
However, my hash always…

Varun Pius Rodrigues
- 337
- 2
- 8
1
vote
0 answers
How to resolve versionConflict error in Termsteel (PyJWT, flask-jwt-login and argon2-cffi)?
Hi I have a problem whit python packet conflict except that the problem is not so simple, it is not enough just to solve this conflict. I don't want to change my code, what can I do?
Error :
ERROR: ResolutionImpossible: for help visit…

Afi _
- 9
- 2
1
vote
0 answers
How does the argon2-cffi python lib manage salt used to hash plaintext?
How does the argon2-cffi python lib manage salt used to hash plaintext ? I understand that it generates itself the salt according to the salt_size I gave, but I don't understand how the lib can verify the hash without I give the salt used to…

sultan97
- 11
- 2
0
votes
0 answers
argon2_verify(...) C API - why does it need to be told the Argon2 algorithm?
Argon2 will produce an encoded hash that contains everything you need to know about how it was produced
$argon2id$v=19$m=19456,t=2,p=3$SqUV+y5EZ9KagOg52BqQ8A$JRA/a2kS/8Hypl9diDnHqg
Argon2 also provides 'verify' routines that take (a) an encoded…
0
votes
0 answers
Django: Reimplementing Argon2PasswordHasher with key
In my Django project, I need to modify Argon2PasswordHasher to be able to encrypt with the key (SECRET_KEY) imported from settings.py.
I learned that key should be an optional parameter in Argon2, so I have to introduce it in this algorithm.
I tried…

moret12
- 1
- 1
0
votes
0 answers
How do I guarantee the same Argon2 hash from computer to computer?
I'm a fan of SHA-512, because the hash remains the same.
I'm currently working on an open source keyboard listener, which takes insecure passwords, like:
123456
qwerty
password
and secures them, by running them through a hashing algorithm, along…

KI4JGT
- 471
- 2
- 5
- 13
0
votes
0 answers
Can't access argon2 in Alpine Linux / Docker
I'm installing argon2 for Python with RUN apk add py3-argon2-cffi.
This installs the Python argon2 package from Alpine (https://alpine.pkgs.org/3.14/alpine-community-x86_64/py3-argon2-cffi-20.1.0-r1.apk.html).
When I try to import it with import…

ComanderKai77
- 460
- 6
- 14
0
votes
1 answer
pip3 install jupyterlab fail on WSL2.0 under windows 10 arm64
Ubuntu 20.04 on WSL 2.0 under windows 10 ARM64 (Surface Pro X with WSL2.0).
pip3 install jupyterlab // failure
Building wheels for collected packages: argon2-cffi
Building wheel for argon2-cffi (PEP 517) ... error
ERROR: Command errored out with…

Alex Chiang
- 1,800
- 2
- 14
- 21
-2
votes
1 answer
PHP gives error that is not present when using replit
I was attempting to write a password-protect page in php

Cody
- 3
- 2