Authen...ssword(3pm)
π Authen::Simple::Password(3pm) π
okay bestie, so this is a page from the User Contributed Perl Documentation β it's the manual for Authen::Simple::Password, and honestly? it's giving "small module, big job." it does one thing and it does it slay. let's get into it π«Ά
β¨ NAME β¨
Authen::Simple::Password β Simple password checking. that's it. that's the whole vibe. no cap.
πΈ SYNOPSIS πΈ
if ( Authen::Simple::Password->check( $password, $encrypted ) ) {
# OK
}
like... look at that. one call. it just works. π
π¦ DESCRIPTION π¦
it provides a simple way to verify passwords. literally that's the description. it's short because the module knows what it is. main character energy, no filler.
π METHODS π
check( $password, $encrypted )β returns true on success and false on failure. that's the whole API. she's lowkey minimal and highkey iconic for it.
π₯ SUPPORTED PASSWORD FORMATS π₯
this is the part where she shows OFF. look at all these formats she can handle. obsessed. π
- Plain β plaintext. no encryption, just vibes. yes bestie, raw.
- Crypt β that's
crypt(3). the classic. - Crypt Modular
$1$β MD5-based password algorithm$apr$β MD5-based password algorithm, Apache variant
- LDAP
{CLEARTEXT}β Plaintext.{CRYPT}β Usescrypt(3){MD5}β MD5 algorithm{SMD5}β Seeded MD5 algorithm{SHA}β SHA-1 algorithm{SSHA}β Seeded SHA-1 algorithm
- MD5 algorithm β encoded as binary, Base64 or hexadecimal. three fits, one algorithm. she contains multitudes β¨
- SHA-1 algorithm β encoded as binary, Base64 or hexadecimal.
- SHA-2 256 algorithm β encoded as binary, Base64 or hexadecimal.
π SEE ALSO π
Authen::Simplecrypt(3).
go read those too. do it for her. π§
π AUTHOR π
Christian Hansen <chansen@cpan.org> β thank u for ur service, legend π
β COPYRIGHT β
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
free as in freedom, bestie. go wild (respectfully). π
and that's the page!! this one's from perl v5.32.0, dated 2021-01-02, and the manual's got that cute abbreviated name Authen...ssword(3pm) β iykyk π mwah, go check some passwords responsibly πΈ
π¦ where this page comes from
- debian bookworm: libauthen-simple-perl 0.5-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libauthen-simple-perl 0.5-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libauthen-simple-perl 0.5-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libauthen-simple-perl 0.5-1.1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms