phpman > perldoc > Authen::SASL::SASLprep

Markdown | JSON | MCP    

phpman > perldoc > Authen::SASL::SASLprep(1)

Markdown | JSON | MCP   man perldoc info pydoc3 ri search  

๐Ÿ“› NAME

Authen::SASL::SASLprep - A Stringprep Profile for User Names and Passwords (RFC 4013)

๐Ÿ“œ SYNOPSIS

      use Authen::SASL::SASLprep;
      $output_query = saslprep $input;
      $output_stored = saslprep $stored;

๐Ÿ“– DESCRIPTION

This module implements the *SASLprep* specification, which describes how to prepare Unicode strings representing user names and passwords for comparison. SASLprep is a profile of the stringprep algorithm.

โš™๏ธ FUNCTIONS

This module implements a single function, "saslprep", which is exported by default.

๐Ÿ’  saslprep

saslprep($input, [$stored]

Processes $input according to the *SASLprep* specification and returns the result.

If $input contains characters not allowed for *SASLprep*, it throws an exception (so use "eval" if necessary).

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.

โœ๏ธ AUTHOR

Claus Fรคrber <CFAERBER AT cpan.org>

โš–๏ธ LICENSE

Copyright 2009-2016 Claus Fรคrber.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

๐Ÿ”— SEE ALSO

Unicode::Stringprep, RFC 4013 <http://www.ietf.org/rfc/rfc4013.txt>

Generated by phpman v4.1.1-1-ga5058b5-dirty Author: Che Dong Under GNU General Public License
2026-06-17 04:16 @2607:f298:5:117b::85f:4fbd
CrawledBy phpMan/batch-enhance

Generated by phpman v4.1.1-1-ga5058b5-dirty Author: Che Dong Under GNU General Public License
2026-06-17 06:40 @216.73.216.135
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format