rotating
Creates a rotating encryption key set.
New cookies are encrypted with current. Existing cookies encrypted with previous are still accepted. Remove previous after all issued OAuth state cookies have expired.
Return
rotating encryption key configuration.
Parameters
current
key used for new cookies. The array is copied before storage.
previous
key accepted for cookies issued before rotation. The array is copied before storage.