logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Crypt::MySQL - emulate MySQL PASSWORD() function.

Author

       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.

Description

       Crypt::MySQL emulates MySQL PASSWORD() SQL function, without libmysqlclient.  You can compare encrypted
       passwords, without real MySQL environment.

Name

       Crypt::MySQL - emulate MySQL PASSWORD() function.

See Also

       DBD::mysql Digest::SHA

perl v5.40.0                                       2024-10-20                                  Crypt::MySQL(3pm)

Synopsis

         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.

See Also