Documentation ¶
Index ¶
- func DecryptCBC(block cipher.Block, keyMac, msg []byte) ([]byte, error)
- func DecryptGCM(block cipher.Block, msg []byte) ([]byte, error)
- func EncryptCBC(block cipher.Block, keyMac []byte, cipherTextBuf bytes.Buffer, msg []byte) ([]byte, error)
- func EncryptGCM(block cipher.Block, cipherTextBuf bytes.Buffer, msg []byte) ([]byte, error)
- func Padding(src []byte, blocksize int) ([]byte, []byte)
- func Unpadding(dst []byte) []byte
- type BlockMode
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptCBC ¶
func EncryptGCM ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.