Password¶
Import: import system.webapi.auth;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
Password¶
Argon2id password hashes in the interoperable PHC format.
hash¶
Hashes password with Argon2id and returns a PHC-encoded hash, or an authentication error.
verify¶
Checks a password against its encoded hash, returning false on mismatch or an error if verification fails.