Downgrade to go 1.22.8

This commit is contained in:
Tracker-Friendly 2024-10-23 19:32:39 +01:00
parent 4d0b2593b7
commit e69d52de1b
3 changed files with 13 additions and 4 deletions

6
go.mod
View File

@ -1,7 +1,7 @@
module git.ailur.dev/ailur/pow
go 1.23.0
go 1.22
require golang.org/x/crypto v0.27.0
require golang.org/x/crypto v0.28.0
require golang.org/x/sys v0.25.0 // indirect
require golang.org/x/sys v0.26.0 // indirect

4
go.sum
View File

@ -1,4 +1,8 @@
golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A=
golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70=
golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U=
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

View File

@ -1,7 +1,8 @@
package ailur_pow
package main
import (
"bytes"
"fmt"
"strconv"
"strings"
"time"
@ -69,3 +70,7 @@ func VerifyPoW(pow string) bool {
return false
}
}
func main() {
fmt.Println(PoW(2, "fg-auth-signup", 0))
}