Documentation ¶
Index ¶
- type AesEcb
- func (ae AesEcb) Decrypt(key, plaintext []byte) ([]byte, error)
- func (ae AesEcb) Encrypt(key, plaintext []byte) ([]byte, error)
- func (ae AesEcb) PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func (ae AesEcb) PKCS5UnPadding(originData []byte) []byte
- func (ae AesEcb) PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func (ae AesEcb) PKCS7UnPadding(originData []byte) []byte
- func (ae AesEcb) ZeroPadding(ciphertext []byte, blockSize int) []byte
- func (ae AesEcb) ZeroUnPadding(originData []byte) []byte
- type PADDING
- type Security
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AesEcb ¶
func (AesEcb) PKCS5UnPadding ¶
func (AesEcb) PKCS7UnPadding ¶
func (AesEcb) ZeroUnPadding ¶
Click to show internal directories.
Click to hide internal directories.