Documentation
¶
Index ¶
- Constants
- func Decrypt(key, toDecrypt []byte) ([]byte, error)
- func DecryptWithAES(key, src []byte) ([]byte, error)
- func DecryptWithXORBase64(key, src []byte) ([]byte, error)
- func Encrypt(key, toEncrypt []byte, encType byte) ([]byte, error)
- func EncryptWithAES(key, src []byte) ([]byte, error)
- func EncryptWithXORBase64(key, src []byte) ([]byte, error)
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
Constants ¶
View Source
const ( TypeXORBase64 byte = 0x01 TypeAES byte = 0x02 )
Variables ¶
This section is empty.
Functions ¶
func DecryptWithAES ¶
func DecryptWithXORBase64 ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.