Skip to content

Commit dd03a71

Browse files
committed
Checker: Go: use sha3 from standard lib
1 parent aad727f commit dd03a71

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

go/checkerlib/go.mod

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
module github.com/fausecteam/ctf-gameserver/go/checkerlib
22

3-
go 1.23.0
4-
5-
require golang.org/x/crypto v0.39.0
6-
7-
require golang.org/x/sys v0.33.0 // indirect
3+
go 1.24.0

go/checkerlib/go.sum

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
golang.org/x/crypto v0.39.0 h1:SHs+kF4LP+f+p14esP5jAoDpHU8Gu/v9lFRK6IT5imM=
2-
golang.org/x/crypto v0.39.0/go.mod h1:L+Xg3Wf6HoL4Bn4238Z6ft6KfEpN0tJGo53AAPC632U=
3-
golang.org/x/sys v0.33.0 h1:q3i8TbbEz+JRD9ywIRlyRAQbM0qF7hu24q3teo2hbuw=
4-
golang.org/x/sys v0.33.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=

go/checkerlib/lib.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package checkerlib
55
import (
66
"bufio"
77
"bytes"
8+
"crypto/sha3"
89
"encoding/base64"
910
"encoding/binary"
1011
"encoding/json"
@@ -17,8 +18,6 @@ import (
1718
"strconv"
1819
"syscall"
1920
"time"
20-
21-
"golang.org/x/crypto/sha3"
2221
)
2322

2423
const (

0 commit comments

Comments
 (0)