structstd.crypto.scrypt.HashOptions[src]

Options for hashing a password.

Allocator is required for scrypt.

Fields

allocator: ?mem.Allocator
params: Params
encoding: pwhash.Encoding

Source Code

Source code
pub const HashOptions = struct {
    allocator: ?mem.Allocator,
    params: Params,
    encoding: pwhash.Encoding,
}