You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xiaoqidun 87a2045616 docs(更新文档): 更新文档 1 month ago
.drone.yml chore(自动测试): 添加ci自动编译测试 2 months ago
.gitignore 添加忽略提交文件 10 months ago
LICENSE Initial commit 10 months ago
README.md docs(更新文档): 添加注释 1 month ago
go.mod docs(更新文档): 更新文档 1 month ago
go.sum docs(更新文档): 更新文档 1 month ago
idkey.go docs(更新文档): 更新文档 1 month ago

README.md

idkeyPkgGoDev

Golang Argon2id 密码hash和验证

安装方法

go get -u github.com/xiaoqidun/idkey

使用方法

// 生成argon2id hash密码
hash := idkey.Encode([]byte("admin"), nil)
// 进行argon2id hash验证
verify := idkey.Verify([]byte("admin"), hash)