Documentation ¶
Index ¶
- func CreateKeyFromPassword(password string) ([]byte, error)
- func Decrypt(cipherText, secretKey, aad []byte) ([]byte, error)
- func DecryptFile(cipherTextFile, plainTextFile string, secretKey []byte) error
- func DecryptFromString(cipherText string, secretKey, aad []byte) ([]byte, error)
- func DecryptFromStringToString(cipherText string, secretKey, aad []byte) (string, error)
- func Encrypt(plainText, secretKey, aad []byte) ([]byte, error)
- func EncryptFile(plainTextFile, cipherTextFile string, secretKey []byte) error
- func EncryptStringToString(plainText string, secretKey, aad []byte) (string, error)
- func EncryptToString(plainText, secretKey, aad []byte) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKeyFromPassword ¶
func DecryptFile ¶
func DecryptFromString ¶ added in v0.0.3
func DecryptFromStringToString ¶ added in v0.0.3
func EncryptFile ¶
func EncryptStringToString ¶ added in v0.0.3
func EncryptToString ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.