[]Struct recrypt::api_480::Api480

pub struct Api480<H, S, R> { /* fields omitted */ }

Recrypt public API - 480-bit If you are looking better performance, you might consider the 256-bit API in api.rs

Methods

impl Api480<Sha256, Ed25519, RandomBytes<ThreadRng>>

impl<CR: CryptoRng + RngCore> Api480<Sha256, Ed25519, RandomBytes<CR>>

Trait Implementations

impl<H: Sha256Hashing, S, CR: RngCore + CryptoRng> SchnorrOps for Api480<H, S, RandomBytes<CR>>

impl<H, S, CR: RngCore + CryptoRng> Ed25519Ops for Api480<H, S, RandomBytes<CR>>

fn generate_ed25519_key_pair(&mut self) -> SigningKeypair

Generate a signing key pair for use with the Ed25519Signing trait using the random number generator used to back the RandomBytes struct.

impl<R: RandomBytesGen, H: Sha256Hashing, S: Ed25519Signing> KeyGenOps for Api480<H, S, R>

impl<R: RandomBytesGen, H: Sha256Hashing, S: Ed25519Signing> CryptoOps for Api480<H, S, R>

impl Default for Api480<Sha256, Ed25519, RandomBytes<ThreadRng>>

impl<H: Debug, S: Debug, R: Debug> Debug for Api480<H, S, R>

Auto Trait Implementations

impl<H, S, R> Send for Api480<H, S, R> where
    H: Send,
    R: Send,
    S: Send

impl<H, S, R> Sync for Api480<H, S, R> where
    H: Sync,
    R: Sync,
    S: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized
[src]

impl<T> InitializableFromZeroed for T where
    T: Default
[src]

impl<T> Same for T

type Output = T

Should always be Self