pub fn decrypt_key( encrypted_data: &str, encryption_key: &[u8; 32], ) -> Result<String, String>
Decrypt a base64-encoded legacy encrypted string with a 32-byte key.
Returns the original plaintext string