package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.git
Documentation: pkg.go.dev

# Functions

NewCBCDecrypter returns a BlockMode which decrypts in cipher block chaining mode, using the given Block.
NewCBCEncrypter returns a BlockMode which encrypts in cipher block chaining mode, using the given Block.
NewCFBDecrypter returns a Stream which decrypts with cipher feedback mode, using the given Block.
NewCFBEncrypter returns a Stream which encrypts with cipher feedback mode, using the given Block.
NewCTR returns a Stream which encrypts/decrypts using the given Block in counter mode.
NewGCM returns the given 128-bit, block cipher wrapped in Galois Counter Mode with the standard nonce length.
NewGCMWithNonceSize returns the given 128-bit, block cipher wrapped in Galois Counter Mode, which accepts nonces of the given length.
NewGCMWithTagSize returns the given 128-bit, block cipher wrapped in Galois Counter Mode, which generates tags with the given length.
NewOFB returns a Stream that encrypts or decrypts using the block cipher b in output feedback mode.

# Structs

StreamReader wraps a Stream into an io.Reader.
StreamWriter wraps a Stream into an io.Writer.

# Interfaces

AEAD is a cipher mode providing authenticated encryption with associated data.
A Block represents an implementation of block cipher using a given key.
A BlockMode represents a block cipher running in a block-based mode (CBC, ECB etc).
A Stream represents a stream cipher.