Uses a cryptographically secure pseudorandom number generator from sodium::helpers() to generate a 64 digit hexadecimal string. 'sodium' wraps around 'libsodium'.

randomCookieKey()

Value

A 64 digit hexadecimal string to be used as a key for cookie encryption.

Details

Please see sessionCookie for more information on how to save the generated key.

See also