ecb

package
v0.0.0-...-57fab71 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package ecb implements the electronic codebook (ECB) block cipher mode of operation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDecrypter

func NewDecrypter(b cipher.Block) cipher.BlockMode

NewDecrypter returns a cipher.BlockMode which decrypts in electronic codebook mode, using the given cipher.Block.

func NewEncrypter

func NewEncrypter(b cipher.Block) cipher.BlockMode

NewEncrypter returns a cipher.BlockMode which encrypts in electronic codebook mode, using the given cipher.Block.

Types

This section is empty.

Jump to

Keyboard shortcuts

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