replace deprecated math/rand with crypto/rand

This commit is contained in:
nils måsén 2023-11-13 14:18:47 +01:00
parent adeef4342e
commit 8da914cf20

View file

@ -2,8 +2,8 @@ package util
import (
"bytes"
"crypto/rand"
"fmt"
"math/rand"
)
// GenerateRandomSHA256 generates a random 64 character SHA 256 hash string