CGI::A...er::md5(3pm)
π NAME π
Okay so bestie, this is the manual page for CGI::Application::Plugin::Authentication::Driver::Filter::md5, straight out of the User Contributed Perl Documentation β and it is literally the MD5 filter. Main character energy for a tiny module, honestly. β¨
π§ METHODS π§
π filter ( (hex base64 binary), $string )
This one generates an MD5 hash of the string in the requested format. By default, hex encoding is used. Slay.
my $filtered = $class->filter('base64', 'foobar'); # OFj2IjCsPJFfMAxmQxLGPw
-or-
my $filtered = $class->filter(undef, 'foobar'); # 3858f62230ac3c915f300c664312c63f
π check ( (hex base64 binary), $string, $md5 )
This one generates an MD5 hash of the string and compares it against the MD5 string you provided. If no encoding type is specified, the length of the MD5 string gets tested to see what format it is in. No cap.
if ($class->check(undef, 'foobar', '3858f62230ac3c915f300c664312c63f')) {
# they match
}
π SEE ALSO π
CGI::Application::Plugin::Authentication::DriverDigest::MD5perl(1)
π AUTHOR π
Cees Hek <ceeshek@gmail.com> β iconic behavior, honestly. π«Ά
π LICENCE AND COPYRIGHT π
Copyright (c) 2005, SiteSuite. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
That's the whole page, bestie! This one is from perl v5.38.2, dated 2024-06-29, and it's the CGI::A...er::md5(3pm) manual page. Go off π
π
π¦ where this page comes from
- debian trixie: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcgi-application-plugin-authentication-perl 0.25+~cs0.5-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms