GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Authen::SASL::SASLprep(3) User Contributed Perl Documentation Authen::SASL::SASLprep(3)

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

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

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

Claus Färber <CFAERBER@cpan.org>

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.

Unicode::Stringprep, RFC 4013 <http://www.ietf.org/rfc/rfc4013.txt>
2016-09-25 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.