Trait cggmp21::security_level::KeygenSecurityLevel
source · pub trait KeygenSecurityLevel: Clone + Sync + Send + 'static {
type Rid: AsRef<[u8]> + AsMut<[u8]> + Default + Clone + FromHex<Error = FromHexError> + Send + Sync + Unpin + 'static;
const SECURITY_BITS: u32;
const SECURITY_BYTES: usize;
}
Expand description
Security level of CGGMP21 DKG protocol Security level of the DKG protocol
You should not implement this trait manually. Use define_security_level macro instead.
Required Associated Types§
Required Associated Constants§
sourceconst SECURITY_BITS: u32
const SECURITY_BITS: u32
$\kappa$ bits of security
sourceconst SECURITY_BYTES: usize
const SECURITY_BYTES: usize
$\kappa/8$ bytes of security
Object Safety§
This trait is not object safe.