Nitesi::Account::Password - Password class for Nitesi Shop Machine
Allows to create random passwords, password hashes from cleartext passwords and password checks.
Checks password retrieved from user against the password hash.
$crypt->check($hash_from_database, $user_input);
Creates password hash from plain text password.
$crypt->password('nevairbe');
Use specific algorithm (default is sha512):
$crypt->password('nevairbe', 'md5');
Creates random password.
Example
$crypt->make_password();
Stefan Hornburg (Racke), <racke@linuxia.de>
Copyright 2011-2012 Stefan Hornburg (Racke) <racke@linuxia.de>.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Nitesi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nitesi
CPAN shell
perl -MCPAN -e shell install Nitesi
For more information on module installation, please visit the detailed CPAN module installation guide.