cyphr (version 1.1.4)

session_key_refresh: Refresh the session key

Description

Refresh the session key, invalidating all keys created by key_openssl(), keypair_openssl(), key_sodium() and keypair_sodium().

Usage

session_key_refresh()

Arguments

Details

Running this function will invalidate all keys loaded with the above functions. It should not be needed very often.

Examples

Run this code
# NOT RUN {
# Be careful - if you run this then all keys loaded from file will
# no longer work until reloaded
if (FALSE) {
  cyphr::session_key_refresh()
}
# }

Run the code above in your browser using DataCamp Workspace