Documentation ¶
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func NewECBDecrypted(b cipher.Block) cipher.BlockMode
- func NewECBEncrypted(b cipher.Block) cipher.BlockMode
- func PKCS5Padding(context []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesDecrypt ¶
AesDecrypt is AES-ECB decrypt function
func AesEncrypt ¶
AesEncrypt is AES-ECB encrypt function
func NewECBDecrypted ¶
NewECBDecrypted is AES Tool function
func NewECBEncrypted ¶
NewECBEncrypted is AES Tool function
func PKCS5Padding ¶
PKCS5Padding is AES Tool function
func PKCS5UnPadding ¶
PKCS5UnPadding is AES Tool function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.