forked from lix-project/hydra
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:
commit
33f8a36736
|
@ -216,7 +216,7 @@ sub json_hint {
|
||||||
|
|
||||||
sub _authenticator() {
|
sub _authenticator() {
|
||||||
my $authenticator = Crypt::Passphrase->new(
|
my $authenticator = Crypt::Passphrase->new(
|
||||||
encoder => 'Argon2',
|
encoder => { module => 'Argon2', output_size => 16 },
|
||||||
validators => [
|
validators => [
|
||||||
(sub {
|
(sub {
|
||||||
my ($password, $hash) = @_;
|
my ($password, $hash) = @_;
|
||||||
|
|
Loading…
Reference in a new issue