Hashing passowrds
Hashing passowrds in Goffee
can be done by using the object hashing
from the context, here is how you can do that:
package controllers
import (
"it.smarteching.com/goffee/core"
)
func Login(c *core.Context) *core.Response {
hashedPassword, err := c.GetHashing().HashPassword("my-password")
}