aesutil

package module
v0.0.0-...-9850c2a Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(data []byte, key string) ([]byte, error)

AesDecrypt 解密

func AesEncrypt

func AesEncrypt(data []byte, key string) ([]byte, error)

AesEncrypt 加密

func Decrypt

func Decrypt(data string, key string) string

DecryptByAes Aes 解密16进制

func DecryptBase64

func DecryptBase64(data string, key string) string

DecryptByAes Aes 解密

func Encrypt

func Encrypt(data string, key string) string

EncryptByAes Aes加密 后 返回16进制

func EncryptBase64

func EncryptBase64(data string, key string) string

EncryptByAes Aes加密 后 base64 再加转字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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