Options for hashing a password.
Allocator is required for argon2.
Only phc encoding is supported.
allocator: ?mem.Allocator
params: Params
mode: Mode = .argon2id
encoding: pwhash.Encoding = .phc
pub const HashOptions = struct { allocator: ?mem.Allocator, params: Params, mode: Mode = .argon2id, encoding: pwhash.Encoding = .phc, }
Press escape to exit search and then '?' to see more options.