pub fn decrypt_with_key( hex_data: &str, key: &[u8; 32], ) -> Result<String, String>
Decrypt a hex-encoded ciphertext with a key.