ecb

package
v1.1.2-0...-e53d5f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDecrypter

func NewDecrypter(b cipher.Block) cipher.BlockMode

NewDecrypter returns a BlockMode which decrypts in electronic code book mode, using the given Block.

func NewEncrypter

func NewEncrypter(b cipher.Block) cipher.BlockMode

NewEncrypter returns a BlockMode which encrypts in electronic code book mode, using the given Block.

Types

type Decrypter

type Decrypter ecb

func (*Decrypter) BlockSize

func (x *Decrypter) BlockSize() int

func (*Decrypter) CryptBlocks

func (x *Decrypter) CryptBlocks(dst, src []byte)

type Encrypter

type Encrypter ecb

func (*Encrypter) BlockSize

func (x *Encrypter) BlockSize() int

func (*Encrypter) CryptBlocks

func (x *Encrypter) CryptBlocks(dst, src []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL