mirror of
https://github.com/xiaoqidun/idkey.git
synced 2026-03-27 00:39:51 +08:00
Compare commits
13 Commits
v1.0.6
...
86c0fa96ea
| Author | SHA1 | Date | |
|---|---|---|---|
| 86c0fa96ea | |||
| 76ea0edab5 | |||
| bfb10d1816 | |||
| 581af88854 | |||
| 36740c9c16 | |||
| 7ec260f328 | |||
| d6421aaf41 | |||
| 68a1466365 | |||
| 4b28aed195 | |||
| 049b1d61d1 | |||
| 1f9473afbd | |||
| e2ff6bb6df | |||
| 4f84704da4 |
-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.22.0
|
||||
require golang.org/x/crypto v0.49.0
|
||||
|
||||
require golang.org/x/sys v0.19.0 // indirect
|
||||
require golang.org/x/sys v0.42.0 // indirect
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
|
||||
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
|
||||
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
|
||||
golang.org/x/sys v0.19.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