cbc3

package
v0.0.0-...-dd06a46 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDecrypter

func NewDecrypter(b1, b2, b3 cipher.Block, iv []byte) cipher.BlockMode

NewDecrypter returns a BlockMode which decrypts in cipher block chaining mode, using the given three Blocks, all of which must have the same block size. The length of iv must be the same as the three times the Block's block size and must match the iv used to encrypt the data.

func NewEncrypter

func NewEncrypter(b1, b2, b3 cipher.Block, iv []byte) cipher.BlockMode

NewEncrypter returns a BlockMode which encrypts in cipher block chaining mode, using the given three Blocks, all of which must have the same block size. The length of iv must be the same as the three times the Block's block size. It is recommended that the blocks be initialized with different IVs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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