AES

package
v0.0.0-...-41c7706 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAES

func DecryptAES(cipherText, key []byte) []byte

func EncryptAES

func EncryptAES(originData, key []byte) []byte

func GenerateRandomKeyOfAES

func GenerateRandomKeyOfAES() []byte

func PKCS7Padding

func PKCS7Padding(originData []byte, blockSize int) []byte

func PKCS7UnPadding

func PKCS7UnPadding(originData []byte) []byte

func TestAES

func TestAES()

Types

This section is empty.

Jump to

Keyboard shortcuts

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