auth-vir - v3.1.0
    Preparing search index...

    Function hashPassword

    • Hashes a password using the Argon2id algorithm so passwords don't need to be stored in plain text. The output of this function is safe to store in a database for future credential comparisons.

      Parameters

      Returns Promise<string>

      The hashed password.