goshort/internal/util/passwords/hasher.go
Gustavo Maronato 6498ac56d9
All checks were successful
Build / build (push) Successful in 11m48s
added more tests and ui updates
2023-08-29 23:38:52 -03:00

8 lines
163 B
Go

package passwords
type PasswordHasher interface {
Hash(password string) (string, error)
Verify(password, encodedHash string) (bool, error)
WasteTime() error
}