crypto

package
v0.0.0-...-cb9cbce Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePwd

func ComparePwd(str string, pwd string) bool

通过比较两个字符串hash判断是否出自同一个明文 str 明文 pwd 需要对比的密文

func GenPwd

func GenPwd(str string) string

生成密码, 由于使用自适应hash算法, 不可逆

Types

This section is empty.

Jump to

Keyboard shortcuts

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