package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.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.
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

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.