hash_password¶
In std/crypto.
effectful fn hash_password(self: String, *, memory_kib: Int = 19456, iterations: Int = 2, parallelism: Int = 1) : String
The Argon2id hash of self under a new 16-octet salt from the host
generator, as a PHC string: $argon2id$v=19$m=19456,t=2,p=1$…$…. A cost
below OWASP's minimum is refused: memory_kib is 19456 to 1048576,
iterations at least 2, parallelism 1 to 16.