passwordHash:Go的密码哈希兼容功能

时间:2024-05-02 07:38:56
【文件属性】:

文件名称:passwordHash:Go的密码哈希兼容功能

文件大小:15KB

文件格式:ZIP

更新时间:2024-05-02 07:38:56

go golang cryptography password password-hash

密码哈希 密码哈希包与Node的password-hash兼容 用法 package main import "github.com/malixsys/passwordHash" func main () { // Generate a hashed password testPassword := `test1234` hashedPassword := passwordHash . Generate ( testPassword , nil ) // Test correct password in constant time valid := passwordHash . Verify ( hashedPassword , testPassword ) log . Printf ( "The password validity is %t against


【文件预览】:
passwordHash-master
----.travis.yml(52B)
----passwordHash_test.go(2KB)
----LICENSE(34KB)
----passwordHash.go(2KB)
----.gitignore(148B)
----README.md(1KB)

网友评论