Merge pull request #1304 from stigtsp/crypt-passphrase-argon2-output-len

Set output length of C::P::Argon2 hashes to 16
This commit is contained in:
Janne Heß 2023-10-20 16:03:18 +02:00 committed by GitHub
commit 33f8a36736
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,7 +216,7 @@ sub json_hint {
sub _authenticator() {
my $authenticator = Crypt::Passphrase->new(
encoder => 'Argon2',
encoder => { module => 'Argon2', output_size => 16 },
validators => [
(sub {
my ($password, $hash) = @_;