Authen...SLprep(3pm)
π Authen::SASL::SASLprep β bestie edition π
okay so this is a page from the User Contributed Perl Documentation, and it's about Authen::SASL::SASLprep, which is literally a Stringprep Profile for User Names and Passwords (RFC 4013). yes queen, unicode hygiene π
β¨ NAME β¨
Authen::SASL::SASLprep β a Stringprep Profile for User Names and Passwords (RFC 4013). that's it, that's the whole identity π
π¦ SYNOPSIS π¦
the whole vibe in four lines, no cap:
use Authen::SASL::SASLprep;
$output_query = saslprep $input;
$output_stored = saslprep $stored;
πΈ DESCRIPTION πΈ
so this module implements the SASLprep specification, which is the thing that describes how to prepare Unicode strings representing user names and passwords for comparison. like, it's giving "let's make sure these two strings actually match before we let you in" energy.
SASLprep is a profile of the stringprep algorithm. periodt. β¨
π FUNCTIONS π
this module implements a single function, saslprep, and bestie, it is exported by default. no import gymnastics required π«Ά
saslprep($input, [$stored]β processes$inputaccording to the SASLprep specification and returns the result.
β οΈ if$inputcontains characters not allowed for SASLprep, it throws an exception β so useevalif necessary, okay?? don't say I didn't warn you π
if the boolean parameter $stored is true, an exception is also thrown when characters are not allowed for stored strings (i.e., when characters are unassigned in Unicode 3.2). the default is to prepare query strings, in which unassigned characters are allowed. so like, query mode = chill, stored mode = strict π
π AUTHOR π
Claus Faerber <CFAERBER@cpan.org> β iconic, we stan π
π LICENSE π
Copyright 2009-2016 Claus Faerber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. slay, open source behavior fr fr π
π SEE ALSO π
Unicode::Stringprep- RFC 4013 <http://www.ietf.org/rfc/rfc4013.txt>
and that's the whole page, bestie!! this was rendered by perl v5.36.0, dated 2022-11-27, under the very same Authen...SLprep(3pm) title you scrolled past at the top π¦β¨ go forth and saslprep responsibly π
π¦ where this page comes from
- debian bookworm: libauthen-sasl-saslprep-perl 1.100-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libauthen-sasl-saslprep-perl 1.100-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libauthen-sasl-saslprep-perl 1.100-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libauthen-sasl-saslprep-perl 1.100-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libauthen-sasl-saslprep-perl 1.100-4 Β· 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