Documentation ¶
Index ¶
- func NewCTRStream(input io.Reader, nonce uint64, cipher cipher.Block) io.Reader
- func NewCTRStreamAtPos(pos uint64, input io.Reader, nonce uint64, cipher cipher.Block) io.Reader
- func NewMT19937Stream(input io.Reader, mt *random.MT19937) io.Reader
- type BlindEncryptFn
- type BlockMode
- type CBCBlockMode
- type CTRStream
- type DH
- type ECBBlockMode
- type MT19937Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCTRStreamAtPos ¶
Types ¶
type BlindEncryptFn ¶
func (BlindEncryptFn) BlindLength ¶
func (fn BlindEncryptFn) BlindLength() int
func (BlindEncryptFn) GuessBlockSize ¶
func (fn BlindEncryptFn) GuessBlockSize() int
func (BlindEncryptFn) IsECB ¶
func (fn BlindEncryptFn) IsECB(blockSize int) bool
type BlockMode ¶
func NewECBBlockMode ¶
type CBCBlockMode ¶
type CBCBlockMode struct {
// contains filtered or unexported fields
}
type DH ¶
func NewDiffieHellman ¶
type ECBBlockMode ¶
type ECBBlockMode struct {
// contains filtered or unexported fields
}
type MT19937Stream ¶
type MT19937Stream struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.