utils

package
v0.0.0-...-79e86b9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecrypt

func AesDecrypt(encrypted, key []byte) ([]byte, error)

func AesDecrypt_PHP

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

func AesEncrypt

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

func AesEncrypt_PHP

func AesEncrypt_PHP(origData, key []byte) (string, error)

func PKCS5Padding

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

func PKCS7Padding

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

func PKCS7UnPadding

func PKCS7UnPadding(origData []byte) []byte

func QueryCrossUpdate

func QueryCrossUpdate(query 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