Struct argon2::ParamsBuilder [−][src]
pub struct ParamsBuilder { /* fields omitted */ }
Expand description
Builder for Argon2 Params
.
Implementations
Set memory size, expressed in kilobytes, between 1 and (2^32)-1.
Set number of iterations, between 1 and (2^32)-1.
Set degree of parallelism, between 1 and 255.
Set key identifier.
Must be 8-bytes or less.
Set associated data.
Must be 32-bytes or less.
Set length of the output (in bytes).
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ParamsBuilder
impl Send for ParamsBuilder
impl Sync for ParamsBuilder
impl Unpin for ParamsBuilder
impl UnwindSafe for ParamsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more