Authen::SASL::SASLprep - A Stringprep Profile for User Names and Passwords (RFC 4013)
use Authen::SASL::SASLprep; $output = saslprep $input;
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.
This module implements a single function, saslprep, which is exported by default.
saslprep
Processes $input according to the SASLprep specification and returns the result.
$input
If $input contains characters not allowed for SASLprep, it throws an exception (so use eval if necessary).
eval
This function currently supports preparation for query strings only.
Claus Färber <CFAERBER@cpan.org>
Copyright © 2009 Claus Färber.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Unicode::Stringprep, RFC 4013 http://www.ietf.org/rfc/rfc4013.txt
To install Authen::SASL::SASLprep, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::SASL::SASLprep
CPAN shell
perl -MCPAN -e shell install Authen::SASL::SASLprep
For more information on module installation, please visit the detailed CPAN module installation guide.