1
0
mirror of https://github.com/volatiletech/authboss.git synced 2025-07-13 01:20:17 +02:00

password hashing via hasher (defaults: bcrypt)

This commit is contained in:
Evghenii Maslennikov
2022-04-18 23:42:02 +03:00
committed by Stephen Afam-Osemene
parent ccfe4d1c31
commit 42f90e2471
13 changed files with 83 additions and 8 deletions

5
hasher.go Normal file
View File

@ -0,0 +1,5 @@
package authboss
type Hasher interface {
GenerateHash(s string) (string, error)
}