aes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateIV

func GenerateIV(key []byte) []byte

func PKCS7CBCDecrypt

func PKCS7CBCDecrypt(crypted, key []byte, iv []byte) ([]byte, error)

PKCS7CBCDecrypt AES解密

func PKCS7CBCEncrypt

func PKCS7CBCEncrypt(origData, key []byte, iv []byte) ([]byte, error)

PKCS7CBCEncrypt AES加密

func PKCS7Padding

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

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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