Crypt::MySQL - emulate MySQL PASSWORD() function.
use Crypt::MySQL qw(password password41); my $encrypted = password("foobar"); # for MySQL 3.23, 4.0 my $encrypted = password41("foobar"); # for MySQL 4.1 or later.
Crypt::MySQL emulates MySQL PASSWORD() SQL function, without libmysqlclient. You can compare encrypted passwords, without real MySQL environment.
IKEBE Tomohiro <ikebe@shebang.jp>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DBD::mysql Digest::SHA1
To install Crypt::MySQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::MySQL
CPAN shell
perl -MCPAN -e shell install Crypt::MySQL
For more information on module installation, please visit the detailed CPAN module installation guide.