Skip to content

Commit

Permalink
replace deprecated math/rand with crypto/rand
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Nov 13, 2023
1 parent adeef43 commit 8da914c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/util/rand_sha256.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package util

import (
"bytes"
"crypto/rand"
"fmt"
"math/rand"
)

// GenerateRandomSHA256 generates a random 64 character SHA 256 hash string
Expand Down

0 comments on commit 8da914c

Please sign in to comment.