Authen-Passphrase-Argon2
view release on metacpan or search on metacpan
lib/Authen/Passphrase/Argon2.pm view on Meta::CPAN
=head1 Methods
=cut
=head2 Authen::Passphrase::Argon2->new
params
# Only one of these must be defined for the salt value. An error will be thrown if none or more than one is defined.
salt - plain text salt value
salt_hex - salt in hex value that gets decoded.
salt_base64 - salt value encoded in base64 that gets decoded.
salt_random - a random salt will be generated using Data::GUID.
# Only one of these must be defined for the crypt value. An error will be thrown if none or more than one is defined.
passphrase - plain text passpord that will be converted to argon2
hash - plain text argon2 value
hash_base64 - base64 encoded argon2 value
hash_hex - hex decimal argon2 value
# optional params
cost - optional - default 3 - This is the time-cost factor, typically a small integer that can be derived as explained above.
( run in 0.867 second using v1.01-cache-2.11-cpan-26ccb49234f )