From 6872fc79baec65bd6b3794ff525d05194ac50607 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 22 Feb 2022 23:47:26 -0700 Subject: [PATCH] Derive Clone for AeCiphertext (#23293) --- zk-token-sdk/src/encryption/auth_encryption.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zk-token-sdk/src/encryption/auth_encryption.rs b/zk-token-sdk/src/encryption/auth_encryption.rs index c6df99bb7..7a28f77a8 100644 --- a/zk-token-sdk/src/encryption/auth_encryption.rs +++ b/zk-token-sdk/src/encryption/auth_encryption.rs @@ -97,7 +97,7 @@ pub type Nonce = [u8; 12]; pub type Ciphertext = [u8; 24]; /// Authenticated encryption nonce and ciphertext -#[derive(Debug, Default)] +#[derive(Debug, Default, Clone)] pub struct AeCiphertext { pub nonce: Nonce, pub ciphertext: Ciphertext,