adesconst

package
v0.0.0-...-b9c2e52 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesType

type DesType int
const (
	Des       DesType = 1 // DES
	TripleDes DesType = 3 // 3DES
)

type EncryptMode

type EncryptMode int
const (
	CBC EncryptMode = iota // 密码分组链接模式
	ECB                    // 电码本模式
	CTR                    // 计算器模式
	OFB                    // 输出反馈模式
	CFB                    // 密码反馈模式
)

type PaddingMode

type PaddingMode int
const (
	NoPadding   PaddingMode = iota // 不填充
	PKCS1                          // PKCS1填充
	PKCS5                          // PKCS5填充
	PKCS7                          // PKCS7填充
	ZeroPadding                    // Zero填充
)

Jump to

Keyboard shortcuts

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