aes

package
v1.0.63 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptECB

func DecryptECB(cipherTextString string, key string) (string, error)

func EncryptECB

func EncryptECB(plainText string, key string) (string, error)

func Pad

func Pad(data []byte, blockSize int) []byte

Pad 使用 PKCS7 填充方式对数据进行补全

func Unpad

func Unpad(data []byte) []byte

Unpad 去除填充

Types

This section is empty.

Jump to

Keyboard shortcuts

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