tool

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

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

AesDecrypt 解密函数

func AesEncrypt

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

AesEncrypt 加密函数

func PKCS7Padding

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

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

func PanicTrace

func PanicTrace(kb int) []byte

PanicTrace trace panic stack info.

func Sha3

func Sha3(txt 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