Documentation ¶
Index ¶
- func AddPadding(input []byte, blockSize byte) ([]byte, error)
- func Aes128CBCDecrypt(ct, key []byte) ([]byte, error)
- func Aes128CBCEncrypt(pt, key, iv []byte) ([]byte, error)
- func Aes128CBCPaddingOracle(ct, key []byte) (bool, error)
- func Aes128CbcMacHash(key, message []byte) ([]byte, error)
- func Aes128ECBDecrypt(ct, key []byte) ([]byte, error)
- func Aes128ECBEncrypt(pt, key []byte) ([]byte, error)
- func RemovePadding(input []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPadding ¶ added in v0.1.5
Adds PKCS7 padding.
func Aes128CBCDecrypt ¶
func Aes128CBCEncrypt ¶
func Aes128CBCPaddingOracle ¶
func Aes128CbcMacHash ¶ added in v0.1.5
func Aes128ECBDecrypt ¶
func Aes128ECBEncrypt ¶
func RemovePadding ¶ added in v0.1.5
Removes PKCS7 padding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.