Dancer2::Plugin::Argon2::Passphrase - Argon2 Passphrase object
use Dancer2::Plugin::Argon2;
The class is for creating a Passphrase object.
Passphrase
Returns crypt-like encoded argon2 string (AKA encoded hash). Like: $argon2id$v=19$m=65536,t=3,p=1$c29tZXNhbHQ$noeJyLQoNCIK/AAIWsc6zDCGUSFplKu/3dabJZIDLv0.
$argon2id$v=19$m=65536,t=3,p=1$c29tZXNhbHQ$noeJyLQoNCIK/AAIWsc6zDCGUSFplKu/3dabJZIDLv0
Checks whether password (in the current object) matches provided password phrase (usually stored value). Returns a truth value.
Add accessors (salt, cost, etc)
RFC 2307 encoding
Crypt::Argon2, https://github.com/p-h-c/phc-winner-argon2
Copyright (C) Sergiy Borodych.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Sergiy Borodych <bor at cpan.org>
<bor at cpan.org>
To install Dancer2::Plugin::Argon2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2::Plugin::Argon2
CPAN shell
perl -MCPAN -e shell install Dancer2::Plugin::Argon2
For more information on module installation, please visit the detailed CPAN module installation guide.