common_crypto

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: MIT Imports: 5 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

AesEncryptECB 加密

func Md5

func Md5(str string) string

Md5 md5加密

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