Generate secure password hashes using Argon2 - the winner of the Password Hashing Competition
Salt should be unique for each password. It's recommended to use at least 16 bytes of salt.
Argon2 is a key derivation function that was selected as the winner of the Password Hashing Competition in 2015. It's specifically designed for password hashing and is resistant to various attacks, including GPU, ASIC, and side-channel attacks.
Argon2 comes in three variants:
Parameters: