@pathmaker-digital/pmd-utilities - v2.2.6
    Preparing search index...

    Function hashPassword

    • Hashes a password asynchronously.

      Parameters

      • password: string

        The password to hash.

      Returns Promise<string>

      The hashed password.

      const hashed = await hashPassword("SuperSecret123!");
      console.log(hashed); // $2b$10$...