mirror of https://github.com/portainer/portainer
17 lines
342 B
Go
17 lines
342 B
Go
package testhelpers
|
|
|
|
// Service represents a service for encrypting/hashing data.
|
|
type cryptoService struct{}
|
|
|
|
func NewCryptoService() cryptoService {
|
|
return cryptoService{}
|
|
}
|
|
|
|
func (cryptoService) Hash(data string) (string, error) {
|
|
return "", nil
|
|
}
|
|
|
|
func (cryptoService) CompareHashAndData(hash string, data string) error {
|
|
return nil
|
|
}
|