Documentation ¶
Index ¶
- func Decrypt(data []byte, secretKey *[32]byte) ([]byte, error)
- func DecryptCredentials(secretKey *[32]byte, encryptedUsername, encryptedPassword []byte) ([]byte, []byte, error)
- func Encrypt(data []byte, secretKey *[32]byte) ([]byte, error)
- func EncryptCredentials(username, password []byte, secretKey *[32]byte) ([]byte, []byte, error)
- func GenerateKey() (*[]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptCredentials ¶
func EncryptCredentials ¶
func GenerateKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.