Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Crypt ¶
type Crypt interface {
// EncryptString encrypts the given string value, returning the encrypted string and an error if any.
EncryptString(value string) (string, error)
// DecryptString decrypts the given string payload, returning the decrypted string and an error if any.
DecryptString(payload string) (string, error)
}
Click to show internal directories.
Click to hide internal directories.