encryptHelper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aes128Decrypt

func Aes128Decrypt(crypted, key []byte, IV []byte) ([]byte, error)

func Aes128Encrypt

func Aes128Encrypt(origData, key []byte, IV []byte) ([]byte, error)

func EncodeMD5

func EncodeMD5(value string) string

func PKCS5Padding

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

func PKCS5UnPadding

func PKCS5UnPadding(origData []byte) []byte

func PswDecrypt

func PswDecrypt(src string, skey string, ivParameter string) string

解密

func PswEncrypt

func PswEncrypt(src string, skey string, ivParameter string) string

加密

Types

This section is empty.

Jump to

Keyboard shortcuts

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