pub fn decrypt_data(data: &[u8], key: &[u8; 32]) -> Result<Vec<u8>>
Decrypt data that was encrypted with encrypt_data, returns the original plaintext or an error if decryption fails.
data
encrypt_data