Options for hashing a password.
Allocator is required for scrypt.
allocator: ?mem.Allocator,
params: Params,
encoding: pwhash.Encoding,