pub struct G1536;๐Deprecated since 0.7.0: this group is too small to be secure. Prefer to use G2048+
Expand description
DEPRECATED: 1536-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#17}::{constant#0}> for G1536
impl ConstMontyParams<srp::::groups::{impl#17}::{constant#0}> for G1536
Sourceยงimpl Group for G1536
impl Group for G1536
Sourceยงconst G: <G1536 as Group>::Element
const G: <G1536 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<G1536, srp::::groups::{impl#18}::Element::{constant#0}>
type Element = ConstMontyForm<G1536, srp::::groups::{impl#18}::Element::{constant#0}>
Group elements.
Sourceยงfn generator() -> BoxedMontyForm
fn generator() -> BoxedMontyForm
Initialize group generator as a
BoxedMontyForm.impl Copy for G1536
impl Eq for G1536
impl StructuralPartialEq for G1536
Auto Trait Implementationsยง
impl Freeze for G1536
impl RefUnwindSafe for G1536
impl Send for G1536
impl Sync for G1536
impl Unpin for G1536
impl UnwindSafe for G1536
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