[][src]Enum accumulator::group::Rsa2048

pub enum Rsa2048 {}

RSA-2048 group implementation. Modulus taken from here. Note: If you want to use Rsa2048 outside the context of this crate, be advised that it treats x and -x as the same element for sound proofs-of-exponentiation. See BBF (page 9).

Trait Implementations

impl Group for Rsa2048[src]

type Elem = Rsa2048Elem

The associated group element type for this group.

fn id() -> Self::Elem[src]

Returns the identity element of the group.

fn op(a: &Self::Elem, b: &Self::Elem) -> Self::Elem[src]

Applies the group operation to elements a and b and returns the result.

fn exp(a: &Self::Elem, n: &Integer) -> Self::Elem[src]

Applies the group operation to a and itself n times and returns the result.

fn inv(a: &Self::Elem) -> Self::Elem[src]

Returns the group inverse of a.

impl UnknownOrderGroup for Rsa2048[src]

fn unknown_order_elem() -> Self::Elem[src]

Returns an element of unknown order in the group.

impl<T> ElemFrom<T> for Rsa2048 where
    Integer: From<T>, 
[src]

impl TypeRep for Rsa2048[src]

type Rep = Integer

The associated type of the simulated type-level static information.

impl Eq for Rsa2048[src]

impl PartialEq<Rsa2048> for Rsa2048[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for Rsa2048[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Rsa2048[src]

impl Hash for Rsa2048[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Rsa2048

impl Sync for Rsa2048

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Same for T

type Output = T

Should always be Self