struct HashOptions [src]

Options for hashing a password.

Fields

allocator: ?mem.Allocator = nullFor bcrypt, that can be left to null.
params: ParamsInternal bcrypt parameters.
encoding: pwhash.EncodingEncoding to use for the output of the hash function.

Source

pub const HashOptions = struct { /// For `bcrypt`, that can be left to `null`. allocator: ?mem.Allocator = null, /// Internal bcrypt parameters. params: Params, /// Encoding to use for the output of the hash function. encoding: pwhash.Encoding, }