Skip to content
This repository was archived by the owner on Aug 3, 2025. It is now read-only.

Commit 2b9e919

Browse files
authored
Use crypto/(hkdf, sha3) instead of golang.org/x/crypto
Go 1.24 brought these from x/crypto into the standard library
1 parent 11157a4 commit 2b9e919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

picocrypt/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@ import (
44
"archive/zip"
55
"bytes"
66
"crypto/cipher"
7+
"crypto/hkdf"
78
"crypto/hmac"
89
"crypto/rand"
10+
"crypto/sha3"
911
"flag"
1012
"fmt"
1113
"hash"
@@ -25,8 +27,6 @@ import (
2527
"golang.org/x/crypto/argon2"
2628
"golang.org/x/crypto/blake2b"
2729
"golang.org/x/crypto/chacha20"
28-
"golang.org/x/crypto/hkdf"
29-
"golang.org/x/crypto/sha3"
3030
"golang.org/x/term"
3131
)
3232

0 commit comments

Comments
 (0)