pub struct G1024;๐Deprecated since 0.7.0: this group is too small to be secure. Prefer to use G2048+
Expand description
DEPRECATED: 1024-bit group
Warning: small group size!
It is recommended to use a group which is 2048-bits or larger.
Trait Implementationsยง
Sourceยงimpl ConstMontyParams<srp::::groups::{impl#7}::{constant#0}> for G1024
impl ConstMontyParams<srp::::groups::{impl#7}::{constant#0}> for G1024
Sourceยงimpl Group for G1024
impl Group for G1024
Sourceยงconst G: <G1024 as Group>::Element
const G: <G1024 as Group>::Element
Group generator modulo
N represented as ConstMontyForm, where N is a large safe prime
(N = 2q + 1, where q is prime)Sourceยงtype Element = ConstMontyForm<G1024, srp::::groups::{impl#8}::Element::{constant#0}>
type Element = ConstMontyForm<G1024, srp::::groups::{impl#8}::Element::{constant#0}>
Group elements.
Sourceยงfn generator() -> BoxedMontyForm
fn generator() -> BoxedMontyForm
Initialize group generator as a
BoxedMontyForm.impl Copy for G1024
impl Eq for G1024
impl StructuralPartialEq for G1024
Auto Trait Implementationsยง
impl Freeze for G1024
impl RefUnwindSafe for G1024
impl Send for G1024
impl Sync for G1024
impl Unpin for G1024
impl UnwindSafe for G1024
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