pkgaes

package
v0.0.0-...-f0a2dc7 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(cipherText string, keyStr string, ivStr string) (string, error)

Decrypt 传入 []byte 类型的加密数据,返回解密后的 []byte 明文数据

func Encrypt

func Encrypt(plainText []byte, keyStr string) (string, string, error)

Encrypt 传入 []byte,返回 []byte 类型的加密数据

Types

This section is empty.

Jump to

Keyboard shortcuts

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