[][src]Struct libpasta::primitives::Argon2

pub struct Argon2 { /* fields omitted */ }

Parameter set for Argon2.

This implementation is backed by the argon2rs crate.

Implementations

impl Argon2[src]

pub fn default() -> Primitive[src]

Get the default Argon2i parameter set

pub fn new(passes: u32, lanes: u32, kib: u32) -> Primitive[src]

Creates a new Argon2i instance

Trait Implementations

impl Debug for Argon2[src]

impl PrimitiveImpl for Argon2[src]

Auto Trait Implementations

impl RefUnwindSafe for Argon2

impl Send for Argon2

impl Sync for Argon2

impl Unpin for Argon2

impl UnwindSafe for Argon2

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.