Documentation ¶
Index ¶
- func AES128ECBOracle(plainText []byte, key []byte) []byte
- func AESECBOracle2(plainText []byte, key []byte, prefix []byte) []byte
- func DecAES128CBC(ct []byte, iv []byte, key []byte) ([]byte, error)
- func DecAES128ECB(ct []byte, key []byte) ([]byte, error)
- func DetectAESMode(oracle func([]byte) ([]byte, common.AESMode, error)) (common.AESMode, common.AESMode)
- func EncAES128CBC(pt []byte, iv []byte, key []byte) ([]byte, error)
- func EncAES128ECB(pt []byte, key []byte) ([]byte, error)
- func EncOracle(pt []byte) ([]byte, common.AESMode, error)
- func PKCS7Padding(data []byte, lenExp int) ([]byte, error)
- func PKCS7StripPadding(data []byte) []byte
- type KVMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AES128ECBOracle ¶
func DetectAESMode ¶
func PKCS7StripPadding ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.