mirror of
https://github.com/xiaoqidun/idkey.git
synced 2026-03-27 00:39:51 +08:00
Compare commits
8 Commits
v1.1.1
...
86c0fa96ea
| Author | SHA1 | Date | |
|---|---|---|---|
| 86c0fa96ea | |||
| 76ea0edab5 | |||
| bfb10d1816 | |||
| 581af88854 | |||
| 36740c9c16 | |||
| 7ec260f328 | |||
| d6421aaf41 | |||
| 68a1466365 |
-10
@@ -1,10 +0,0 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
pull: if-not-exists
|
||||
image: golang
|
||||
commands:
|
||||
- go build idkey.go
|
||||
@@ -1 +1,3 @@
|
||||
.idea/
|
||||
.vscode/
|
||||
.devcontainer/
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 xiaoqidun
|
||||
Copyright (c) 2020-2026 肖其顿 (XIAO QI DUN)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
# idkey [](https://pkg.go.dev/github.com/xiaoqidun/idkey)
|
||||
Golang Argon2id 密码hash和验证
|
||||
Go语言Argon2id密码哈希和验证库
|
||||
|
||||
# 安装方法
|
||||
```shell
|
||||
go get -u github.com/xiaoqidun/idkey
|
||||
```
|
||||
|
||||
# 使用方法
|
||||
```go
|
||||
// 生成argon2id hash密码
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module github.com/xiaoqidun/idkey
|
||||
|
||||
go 1.20
|
||||
go 1.25.0
|
||||
|
||||
require golang.org/x/crypto v0.30.0
|
||||
require golang.org/x/crypto v0.49.0
|
||||
|
||||
require golang.org/x/sys v0.28.0 // indirect
|
||||
require golang.org/x/sys v0.42.0 // indirect
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
golang.org/x/crypto v0.30.0 h1:RwoQn3GkWiMkzlX562cLB7OxWvjH1L8xutO2WoJcRoY=
|
||||
golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
|
||||
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
|
||||
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/crypto v0.49.0 h1:+Ng2ULVvLHnJ/ZFEq4KdcDd/cfjrrjjNSXNzxg0Y4U4=
|
||||
golang.org/x/crypto v0.49.0/go.mod h1:ErX4dUh2UM+CFYiXZRTcMpEcN8b/1gxEuv3nODoYtCA=
|
||||
golang.org/x/sys v0.42.0 h1:omrd2nAlyT5ESRdCLYdm3+fMfNFE/+Rf4bDIQImRJeo=
|
||||
golang.org/x/sys v0.42.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
||||
|
||||
Reference in New Issue
Block a user