xaes

package
v0.0.0-...-b804f52 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesCbcDecrypt

func AesCbcDecrypt(cipherTextOrg, keyOrg, ivAesOrg string) (string, error)

AesCbcDecrypt aes-cbc 解密

func AesCbcEncrypt

func AesCbcEncrypt(plainTextOrg, keyOrg, ivAesOrg string) (string, error)

AesCbcEncrypt aes-cbc 加密

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(plainText []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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