Files
sub-store/internal/util/random.go
T

9 lines
166 B
Go

package util
import "crypto/rand"
// readRandom fills b with cryptographically secure random bytes.
func readRandom(b []byte) (int, error) {
return rand.Read(b)
}