github.com/germla/auth@v0.0.0-20230505173936-bc9a4159cf17/providers/password/encryptor/encryptor.go (about)

     1  package encryptor
     2  
     3  // Interface encryptor interface
     4  type Interface interface {
     5  	Digest(password string) (string, error)
     6  	Compare(hashedPassword string, password string) error
     7  }