Logo
Explore Help
Sign In
fsylvain/RenewCMS
Watch 1
Star 1 Fork 0
Code Issues Pull Requests Packages Projects Releases 19 Wiki Activity
Files
main
RenewCMS/internal/domain/hash/hashDomain.go
T
fsylvain ff8cd5f0ec refac: password and code hashing & checking go through a domain hasher interface used by the use cases instead of bcrypt in the user repository and the auth handler
2026-09-23 19:29:20 +02:00

7 lines
120 B
Go
Raw Permalink Blame History

package hash
type Hasher interface {
Hash(value string) (string, error)
Compare(hashed string, value string) error
}
Reference in new issue View Git Blame Copy Permalink
Powered by Gitea Version: 28.1.0 Page: 21ms Template: 0ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API