Struct srp::types::SrpGroup [] [src]

pub struct SrpGroup {
    pub n: BigUint,
    pub g: BigUint,
}

Group used for SRP computations

Fields

A large safe prime (N = 2q+1, where q is prime)

A generator modulo N

Trait Implementations

impl Debug for SrpGroup
[src]

Formats the value using the given formatter.

impl Clone for SrpGroup
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for SrpGroup
[src]

impl PartialEq for SrpGroup
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.