SCRAM as SASL mechanism
This module needs the SHA-1 hash function. In order to use it,
initialize crypto support, e.g. by including the
packages and calling
As for all SASL mechanisms in OCamlnet, SASLprep is not automatically
called. Users of SCRAM should pass user names and passwords through
The profile sets some basic parameters.
Uses SHA-1 as hash function.
Netmech_scram_sasl.SHA1, only that the mechanism name is
Uses SHA-256 as hash function.
Netmech_scram_sasl.SHA256, only that the mechanism name is
Create a new SCRAM SASL mechanism for this profile.
SCRAM with SHA1 profile
SCRAM with SHA1_PLUS profile
SCRAM with SHA256 profile
SCRAM with SHA256_PLUS profile