en_decryption

package
v0.0.0-...-87aebb1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AesKey []byte

Functions

func AesDecrypt

func AesDecrypt(crypted, key []byte) ([]byte, error)

AES解密

func AesEncrypt

func AesEncrypt(origData, key []byte) ([]byte, error)

AES加密

func PKCS5Padding

func PKCS5Padding(plaintext []byte, blockSize int) []byte

填充明文

func PKCS5UnPadding

func PKCS5UnPadding(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