mencrypt

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(encrypted string, key string) (string, error)

AesDecrypt aes解密

func AesEncrypt

func AesEncrypt(orig string, key string) (string, error)

AesEncrypt 加密

func DecryptAesEcb

func DecryptAesEcb(data, key []byte) ([]byte, error)

DecryptAesEcb aes ecb 解密

func PKCS7Padding

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

PKCS7Padding 补码

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

PKCS7UnPadding 去码

Types

This section is empty.

Jump to

Keyboard shortcuts

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