random_cookie_key {plumber}R Documentation

Random cookie key generator

Description

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

Usage

random_cookie_key()

Details

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

Value

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

See Also

session_cookie


[Package plumber version 1.2.2 Index]