Skip to main content

symmetric_decrypt

Function symmetric_decrypt 

Source
pub fn symmetric_decrypt(
    key: impl SecretSource,
    data: &str,
) -> Result<String, RustAuthError>
Expand description

Decrypt a string with either a raw secret or a versioned secret config.