Documentation
¶
Index ¶
- func DecryptAES(ciphertext []byte, key []byte) ([]byte, error)
- func EncryptAES(plaintext []byte, key []byte) ([]byte, error)
- func GenerateAESKeyFromPassword(password, salt []byte, iterations int) []byte
- func GenerateSalt(length int) (string, error)
- func PKCS7Padding(plaintext []byte, blockSize int) []byte
- func PKCS7UnPadding(plaintext []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSalt ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.