pswdutil

package
v1.0.1-0...-bd443ad Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMd5Password

func GetMd5Password(ori string, salt string) string

对密码进行md5加密 盐值 原密码加盐值,返回加密过后的密码,大写十六进制串

func GetSalt

func GetSalt(num uint) string

获取盐值

func IsPasswordOk

func IsPasswordOk(ori, md5ed, salt string) bool

检查password是否正常

func Md5

func Md5(str 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