Kelp::Module::Bcrypt - Bcrypt your passwords
# conf/config.pl { modules_init => { Bcrypt => { cost => 6, salt => 'secret salt passphrase' } }; }; # lib/MyApp.pm ... sub some_soute { my $self = shift; my $crypted_password = $self->bcrypt($plain_password); } sub another_route { # Maybe a bridge? my $self = shift; if ( $self->bcrypt($plain_password) eq $crypted_passwrod ) { ...; } }
This module adds bcrypt to your Kelp app
Returns the bcrypted $text.
$text
Stefan G - mimimal <at< cpan.org
Kelp, Crypt::Eksblowfish::Bcrypt
Perl
To install Kelp::Module::Bcrypt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kelp::Module::Bcrypt
CPAN shell
perl -MCPAN -e shell install Kelp::Module::Bcrypt
For more information on module installation, please visit the detailed CPAN module installation guide.