1Authen::SASL::SASLprep(U3s)er Contributed Perl DocumentatAiuotnhen::SASL::SASLprep(3)
2
3
4
6 Authen::SASL::SASLprep - A Stringprep Profile for User Names and
7 Passwords (RFC 4013)
8
10 use Authen::SASL::SASLprep;
11 $output_query = saslprep $input;
12 $output_stored = saslprep $stored;
13
15 This module implements the SASLprep specification, which describes how
16 to prepare Unicode strings representing user names and passwords for
17 comparison. SASLprep is a profile of the stringprep algorithm.
18
20 This module implements a single function, "saslprep", which is exported
21 by default.
22
23 saslprep($input, [$stored]
24 Processes $input according to the SASLprep specification and
25 returns the result.
26
27 If $input contains characters not allowed for SASLprep, it throws
28 an exception (so use "eval" if necessary).
29
30 If the boolean parameter $stored is true, an exception is also
31 thrown when characters are not allowed for stored strings (i.e.,
32 when characters are unassigned in Unicode 3.2). The default is to
33 prepare query strings, in which unassigned characters are allowed.
34
36 Claus Färber <CFAERBER@cpan.org>
37
39 Copyright 2009-2016 Claus Färber.
40
41 This library is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43
45 Unicode::Stringprep, RFC 4013 <http://www.ietf.org/rfc/rfc4013.txt>
46
47
48
49perl v5.28.0 2016-09-25 Authen::SASL::SASLprep(3)