As you may know, maximum input length for bcrypt
is 72 characters and the output length is 60 characters. (I've it tested in PHP
. Correct me if I'm wrong)
I want to know maximum input length and the exact output length for argon2
. Thanks.
As you may know, maximum input length for bcrypt
is 72 characters and the output length is 60 characters. (I've it tested in PHP
. Correct me if I'm wrong)
I want to know maximum input length and the exact output length for argon2
. Thanks.
According to https://en.wikipedia.org/wiki/Argon2#Algorithm max input length is 2^32-1 bytes or 4294967295 bytes.
As to the equivalent in character length, it depends on what character encoding you use. According to this answer:
Still according to https://en.wikipedia.org/wiki/Argon2#Algorithm I cannot give you an 'exact' output length because it depends on the length you choose for various parameters such as the salt and the output hash itself.