block

package
v0.0.0-...-8deeed5 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 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