Manual:$wgHKDFAlgorithm

From Linux Web Expert

Revision as of 23:24, 28 May 2021 by imported>Shirayuki (new tvar syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Security</translate>: $wgHKDFAlgorithm
Algorithm for HMAC-based key derivation function (fast, cryptographically secure random numbers).
<translate> Introduced in version:</translate>1.24.0 (Gerrit change 137077; git #af66c04d)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(string)
<translate> Default value:</translate>sha256

Details

The algorithm must be one of those enumerated by the function hash_algos(): depending on the PHP version, it can be: MD5, SHA-1, SHA-2, Whirlpool, RIPEMD, HAVAL, Tiger, Snefru...