diff --git a/src/key.rs b/src/key.rs index 1f5af35..eb22a75 100644 --- a/src/key.rs +++ b/src/key.rs @@ -30,7 +30,7 @@ pub struct PublicKey(pub(crate) G1Projective); #[derive(Debug, Copy, Clone, Eq, PartialEq, Zeroize)] pub struct PrivateKey(pub(crate) Scalar) where - Scalar: DefaultIsZeroes; + Scalar: Zeroize + DefaultIsZeroes; impl From for PublicKey { fn from(val: G1Projective) -> Self {