[]Struct sudoku_backend::util::SCRYPT_IDEAL_PARAMS

pub struct SCRYPT_IDEAL_PARAMS { /* fields omitted */ }

Induce the "ideal" parameters for scrypt, given a time the calculation must exceed, with the minimum of the recommended 214 rounds.

That time is 250ms, in this case, which makes the hash time be between 250 and 500 milliseconds.

Based on https://security.stackexchange.com/a/83382/124589.

Methods from Deref<Target = ScryptParams>

Trait Implementations

impl Deref for SCRYPT_IDEAL_PARAMS

The resulting type after dereferencing.

impl LazyStatic for SCRYPT_IDEAL_PARAMS

Auto Trait Implementations

impl Send for SCRYPT_IDEAL_PARAMS

impl Sync for SCRYPT_IDEAL_PARAMS

Blanket Implementations

impl<T> From for T
[src]

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

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

🔬 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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

impl<T> Typeable for T where
    T: Any
[src]

Get the TypeId of this object.

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more