/usr/lib/ocaml/netstring/netsaslprep.mli is in libocamlnet-ocaml-dev 4.1.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | (* $Id$ *)
(** The SASLprep algorithm (RFC 4013) *)
(** This module implements the SASLprep string preparation algorithm,
often used for normalizing passwords.
Note that SASLprep is SLOOOOOOW, and should really only be used on short
strings like passwords.
This version of SASLprep doesn't check for unassigned codepoints.
*)
exception SASLprepError
(** Raised when a string cannot be transformed *)
val saslprep_a : int array -> int array
(** Transform a string given as array of Unicode code points *)
val saslprep : string -> string
(** Transform a string given as UTF-8 string *)
|