Documentation ¶
Index ¶
- func Decrypt(key []byte, iv []byte, crypted []byte) ([]byte, error)
- func Encrypt(key []byte, iv []byte, plainText []byte) ([]byte, error)
- func EncryptWithECB(key []byte, plainText []byte) ([]byte, error)
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.