pub enum KyberSecurityLevel {
L512,
L768,
L1024,
}
Expand description
Kyber security level variants.
Kyber 安全级别变体。
§NIST Security Categories | NIST 安全类别
These correspond to NIST post-quantum cryptography security categories:
- Level 1: Equivalent to AES-128
- Level 3: Equivalent to AES-192
- Level 5: Equivalent to AES-256
这些对应于 NIST 后量子密码学安全类别:
- 级别 1: 等同于 AES-128
- 级别 3: 等同于 AES-192
- 级别 5: 等同于 AES-256
Variants§
L512
Kyber-512: NIST security category 1 (128-bit security).
Kyber-512: NIST 安全类别 1(128 位安全性)。
Recommended for most applications requiring post-quantum security. Offers the best performance-to-security ratio.
推荐用于大多数需要后量子安全的应用。 提供最佳的性能与安全性比率。
L768
Kyber-768: NIST security category 3 (192-bit security).
Kyber-768: NIST 安全类别 3(192 位安全性)。
Higher security level for applications with elevated security requirements. Balanced performance and security.
为具有更高安全要求的应用提供更高的安全级别。 平衡的性能和安全性。
L1024
Kyber-1024: NIST security category 5 (256-bit security).
Kyber-1024: NIST 安全类别 5(256 位安全性)。
Maximum security level for the most sensitive applications. Recommended for long-term data protection.
最敏感应用的最大安全级别。 推荐用于长期数据保护。
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for KyberSecurityLevel
impl<'__de, __Context> BorrowDecode<'__de, __Context> for KyberSecurityLevel
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Source§impl Clone for KyberSecurityLevel
impl Clone for KyberSecurityLevel
Source§fn clone(&self) -> KyberSecurityLevel
fn clone(&self) -> KyberSecurityLevel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more