Skip to content

manwar/kelp-module-bcrypt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TITLE

Kelp::Module::Bcrypt - Bcrypt your passwords

SYNOPSIS

# 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 ) {
        ...;
    }
}

TITLE

This module adds bcrypt to your Kelp app

REGISTERED METHODS

bcrypt( $text )

Returns the bcrypted $text.

AUTHOR

Stefan G - mimimal <at< cpan.org

SEE ALSO

Kelp, Crypt::Eksblowfish::Bcrypt

LICENSE

Perl

About

Bcrypt interface for the Kelp web framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 88.7%
  • Other 11.3%