func (s *Passhash) Match(hash, password string) bool {
	return passhash.MatchString(hash, password)
}
Match returns true if the hash matches the password.
package adapter
import (
	"github.com/josephspurrier/gocleanarchitecture/lib/passhash"
)
type Passhash struct{}
func (s *Passhash) Hash(password string) (string, error) {
	return passhash.HashString(password)
}