crypto

package
v0.0.27 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecryptECB

func AesDecryptECB(encryptedStr, keyStr string) string

解密

func AesEncryptECB

func AesEncryptECB(origDataStr, keyStr string) string

加密

func CheckSign

func CheckSign(obj any, app string) bool

func GenSign

func GenSign(obj any, app string) string

func Md5

func Md5(str string) string

func PasswordHash

func PasswordHash(pwd string) string

PasswordHash 生成密码hash

func PasswordVerify

func PasswordVerify(pwd, hash string) bool

PasswordVerify 验证密码

Types

This section is empty.

Jump to

Keyboard shortcuts

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