Web::Authenticate::Digest::Role - A Mouse::Role that defines what methods a Web::Authenticate::Digest object should contain.
version 0.003
All "Web::Authenticate::Digest" objects should be able to digest text and return a hashed value.
my $hash = $digest->generate($password);
Validates the stored hash for the user against the user entered password.
if ($digest->validate($hash, $password)) { # success } else { # failure }
Adam Hopkins <srchulo@cpan.org>
This software is copyright (c) 2017 by Adam Hopkins.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Web::Authenticate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Web::Authenticate
CPAN shell
perl -MCPAN -e shell install Web::Authenticate
For more information on module installation, please visit the detailed CPAN module installation guide.