From ee96c573dfca705b2b0b52a1309b5ad4f73f8767 Mon Sep 17 00:00:00 2001 From: Nanak Nihal Singh Khalsa Date: Mon, 15 May 2023 01:16:55 -0400 Subject: [PATCH] added clonability --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5937308..72d8801 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -552,7 +552,7 @@ pub fn decompress_signature(b: &[u8; 64]) -> Result { Result::Ok(res) => Ok(Signature { r_b8: res, s: s.to_string() }), } } -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize, Clone)] pub struct ElGamalEncryption { pub c1: Point, pub c2: Point