Skip to main content

Module password_algorithm

Module password_algorithm 

Source
Expand description

The PASSWORD-ALGORITHM and PASSWORD-ALGORITHMS attributes. PASSWORD-ALGORITHM and PASSWORD-ALGORITHMS (RFC 8489 sections 14.11 and 14.12): the algorithm that turns a long-term password into the HMAC key, and the list a server offers.

Structs§

PasswordAlgorithm
One entry of the STUN Password Algorithms registry with its parameters: the value of PASSWORD-ALGORITHM, and an element of PASSWORD-ALGORITHMS.
PasswordAlgorithms
The PASSWORD-ALGORITHMS attribute: the algorithms a server can derive the long-term key with, in its order of preference.

Constants§

PASSWORD_ALGORITHM_MD5
MD5, the key of RFC 5389 (RFC 8489 section 18.5.1.1): for legacy systems only.
PASSWORD_ALGORITHM_SHA256
SHA-256 (RFC 8489 section 18.5.1.2).