1Crypt::MySQL(3) User Contributed Perl Documentation Crypt::MySQL(3)
2
3
4
6 Crypt::MySQL - emulate MySQL PASSWORD() function.
7
9 use Crypt::MySQL qw(password password41);
10
11 my $encrypted = password("foobar"); # for MySQL 3.23, 4.0
12
13 my $encrypted = password41("foobar"); # for MySQL 4.1 or later.
14
16 Crypt::MySQL emulates MySQL PASSWORD() SQL function, without
17 libmysqlclient. You can compare encrypted passwords, without real
18 MySQL environment.
19
21 IKEBE Tomohiro <ikebe@shebang.jp>
22
23 This library is free software; you can redistribute it and/or modify it
24 under the same terms as Perl itself.
25
27 DBD::mysql Digest::SHA1
28
29
30
31perl v5.36.0 2023-01-20 Crypt::MySQL(3)