1 2 3 4 5 6 7
#[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)] pub struct Bls12381PrivateKey([u8; Self::LENGTH]); impl Bls12381PrivateKey { /// The length of an bls12381 private key in bytes. pub const LENGTH: usize = 32; }