Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptDecrypt ¶
type EncryptDecrypt interface { Encrypt(content []byte, secret string) ([]byte, error) Decrypt(encryptedContent []byte, secret string) ([]byte, error) }
func NewEncoderDecoder ¶
func NewEncoderDecoder() EncryptDecrypt
Click to show internal directories.
Click to hide internal directories.