aes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

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

Decrypt AES解密

func DecryptFromB64

func DecryptFromB64(str string, aesKey []byte) (string, error)

DecryptFromB64 解密字符串

func Encrypt

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

Encrypt AES加密

func EncryptToB64

func EncryptToB64(str string, aesKey []byte) (string, error)

EncryptToB64 加密字符串

Types

This section is empty.

Jump to

Keyboard shortcuts

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