PasswordHashing extension

Adds password hashing helpers related to authentication.

This extension centralizes password hashing and verification behavior through the framework's Hasher implementation.

on

Static Methods

hashPassword({required String key}) String

Available on Auth, provided by the PasswordHashing extension

Hashes a plain-text password for secure storage.
verifyPassword({required String key, String? hash}) bool

Available on Auth, provided by the PasswordHashing extension

Verifies a plain-text password against a stored hash.