block

package
v0.0.0-...-d00ae73 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBlockCiphers

func GetBlockCiphers() map[string]IBlockCipher

Types

type IBlockCipher

type IBlockCipher interface {
	KeyLen() int
	IVLen() int
	NewBlock(key []byte, iv []byte, decryptOrEncrypt int) (cipher.BlockMode, error)
}

func GetBlockCipher

func GetBlockCipher(method string) IBlockCipher

Jump to

Keyboard shortcuts

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