block

package
v0.0.0-...-1db1413 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 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