Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS7Padding ¶
func PKCS7PaddingString ¶
func PKCS7Unpadding ¶
Types ¶
type AESDecrypter ¶
type AESDecrypter struct {
// contains filtered or unexported fields
}
func (*AESDecrypter) Decrypt ¶
func (this *AESDecrypter) Decrypt(b []byte) []byte
func (*AESDecrypter) DecryptToString ¶
func (this *AESDecrypter) DecryptToString(b []byte) string
type AESEncrypter ¶
type AESEncrypter struct {
// contains filtered or unexported fields
}
func (*AESEncrypter) Encrypt ¶
func (this *AESEncrypter) Encrypt(b []byte) []byte
func (*AESEncrypter) EncryptString ¶
func (this *AESEncrypter) EncryptString(str string) []byte
Click to show internal directories.
Click to hide internal directories.