aesecb

package
v1.0.5007 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AesECB = crypto.TypeMultiple.Generate()

特殊的 AesECB 组合模式 也可以使用: MultipleBy(AesECB) AesECB Encrypt type and can use MultipleBy(AesECB)

Functions

func AesECBGenerateKey

func AesECBGenerateKey(key []byte) (genKey []byte)

AesECB key 处理 AesECB Generate Key

Types

type EncryptAesECB

type EncryptAesECB struct{}

func (EncryptAesECB) Decrypt

func (this EncryptAesECB) Decrypt(encrypted []byte, opt crypto.IOption) ([]byte, error)

func (EncryptAesECB) Encrypt

func (this EncryptAesECB) Encrypt(origData []byte, opt crypto.IOption) ([]byte, error)

Jump to

Keyboard shortcuts

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