pub fn decrypt_data( encrypted_data: &str, key: &[u8; 32], ) -> Result<Vec<u8>, CryptoError>
Decrypts data using the globally configured algorithm.