Password to hash (UTF-8 string or bytes).
OptionalsaltSalt (hex string or bytes). If omitted, a random 16-byte salt is generated.
OptionaltimeTime cost (iterations). Default: 3.
OptionalmemoryMemory cost in KiB. Default: 65536 (64 MB).
OptionalparallelismParallelism (lanes). Default: 4.
OptionalhashOutput hash length in bytes. Default: 32.
OptionalvariantArgon2 variant. Default: argon2id.
Options for hashing a password with Argon2.