DigestAlgorithm
Represents a hash algorithm as defined in RFC 7616.
Each algorithm defines the hash function used for computing digests in HTTP Digest Authentication. Session variants (those ending with -sess) modify the HA1 calculation to include the nonce and cnonce, providing additional security by binding the session to specific client entropy.
Security Recommendation: Use SHA_512_256 or SHA_512_256_SESS for new implementations. These provide the strongest security properties. MD5 variants are deprecated and should only be used for backward compatibility with legacy systems.
Functions
Link copied to clipboard
Creates a MessageDigest instance for this algorithm.