Skip to main content

decrypt_key

Function decrypt_key 

Source
pub fn decrypt_key(
    encrypted_data: &str,
    encryption_key: &[u8; 32],
) -> Result<String, String>
Expand description

Decrypt a base64-encoded encrypted string with a 32-byte encryption key

Returns the original plaintext string