diff --git a/zk-token-sdk/src/encryption/aes.rs b/zk-token-sdk/src/encryption/aes.rs index 56303c3a1e..5cebb0166a 100644 --- a/zk-token-sdk/src/encryption/aes.rs +++ b/zk-token-sdk/src/encryption/aes.rs @@ -56,6 +56,12 @@ impl AESCiphertext { } } +impl Default for AESCiphertext { + fn default() -> Self { + AESCiphertext([0_u8; 16]) + } +} + #[cfg(test)] mod tests { use super::*;