package
2.167.0+incompatible
Repository: https://github.com/supabase/auth.git
Documentation: pkg.go.dev

# Functions

CompareHashAndPassword compares the hash and password, returns nil if equal otherwise an error.
GenerateFromPassword generates a password hash from a password, using PasswordHashCost.
GenerateOtp generates a random n digit otp.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
See: https://github.com/firebase/scrypt for implementation.
SecureToken creates a new random token.

# Constants

No description provided by the author
DefaultHashCost represents the default hashing cost for any hashing algorithm.
Firebase uses AES-256 which requires 32 byte keys: https://pkg.go.dev/golang.org/x/crypto/scrypt#Key.
No description provided by the author
QuickHashCosts represents the quickest hashing cost for any hashing algorithm, useful for tests only.

# Variables

No description provided by the author
No description provided by the author
PasswordHashCost is the current pasword hashing cost for all new hashes generated with GenerateHashFromPassword.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author