searcherside/core/ports/pw_hash.go
Peter Kurfer 9ea9a8f658
Some checks failed
Go build / build (push) Failing after 1m58s
feat: continue basic setup
- setup ent scheme
- add command to create users
- document API
- add helpers to create migrations
- add command to run migrations
- add basic compose file
2024-06-19 21:19:37 +02:00

6 lines
141 B
Go

package ports
type PasswordHashAlgorithm interface {
Hash(password []byte) ([]byte, error)
Validate(password []byte, hash []byte) error
}