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

SYNOPSIS


use Authen::SASL::SASLprep;
$output = saslprep $input;

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($input)
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).

This function currently supports preparation for query strings only.

AUTHOR

Claus Fa.rber <[email protected]>

LICENSE

Copyright 2009-2015 Claus Fa.rber.

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