added: password hash

This commit is contained in:
nquidox 2025-07-07 11:42:54 +03:00
parent 12cf796d69
commit f5162fcd66
2 changed files with 17 additions and 0 deletions

View file

@ -5,4 +5,6 @@ import "github.com/gin-gonic/gin"
type Utils interface {
IsEmail(email string) bool
GetUserUuidFromContext(c *gin.Context) (string, error)
HashPassword(password string) (string, error)
ComparePasswords(hashedPassword string, plainPassword string) error
}