Skip to main content

decrypt_token

Function decrypt_token 

Source
pub fn decrypt_token(stored: &str, secret: &str) -> Result<String, AuthError>
Expand description

Decrypt current-format ciphertext with a single persistence key.

Use decrypt_token_with_config to read managed key versions.