pub enum RsaStrength {
Factored {
p: BigInt,
q: BigInt,
method: &'static str,
},
SoundAgainstStructuralAttacks,
}Expand description
The structural-security verdict on an RSA modulus.
Variants§
Factored
A certified structural break: p·q = N, found by the named attack (a re-checkable witness).
SoundAgainstStructuralAttacks
The whole structural arsenal declined within budget — no structural shortcut exists. Only the general sub-exponential algorithms remain, which real key sizes push out of reach: the ceiling.
Trait Implementations§
Source§impl Clone for RsaStrength
impl Clone for RsaStrength
Source§fn clone(&self) -> RsaStrength
fn clone(&self) -> RsaStrength
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RsaStrength
impl Debug for RsaStrength
Source§impl PartialEq for RsaStrength
impl PartialEq for RsaStrength
Source§fn eq(&self, other: &RsaStrength) -> bool
fn eq(&self, other: &RsaStrength) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RsaStrength
impl StructuralPartialEq for RsaStrength
Auto Trait Implementations§
impl Freeze for RsaStrength
impl RefUnwindSafe for RsaStrength
impl Send for RsaStrength
impl Sync for RsaStrength
impl Unpin for RsaStrength
impl UnsafeUnpin for RsaStrength
impl UnwindSafe for RsaStrength
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more