Documentation ¶
Index ¶
- func DecryptCBC(block cipher.Block, msg *[]byte) (*[]byte, error)
- func DecryptGCM(block cipher.Block, nonce []byte, ciphertext *[]byte) (*[]byte, error)
- func EncryptCBC(block cipher.Block, msg *[]byte) (*[]byte, error)
- func EncryptGCM(block cipher.Block, cipherTextBuf *bytes.Buffer, msg *[]byte) ([]byte, error)
- func Padding(srcPtr *[]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 DecryptGCM ¶
func EncryptGCM ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.