Ocamlnet 4 Reference Manual : Netmech_scram_sasl.SHA1

# Module Netmech_scram_sasl.SHA1

    module SHA1: PROFILE

Uses SHA-1 as hash function. The iteration count is limited to 100000. The mechanism name is "SCRAM-SHA-1".

    val hash_function : Netsys_digests.iana_hash_fn

The hash function. We only allow functions where IANA registered an official name. Note that SCRAM is currently only specified for SHA1, although the hash function is easily exchangable.

    val iteration_count_limit : int

The maximum iteration count supported

    val announce_channel_binding : bool

Whether servers announce the availability of channel binding by adding "-PLUS" to the mechanism name.