☰
Debian Codegraph
@
0.8.0-1
0.7.2-1
/
/
random
/
random_local.go
☽
☼
random/random_local.go
code
plain
raw
Expat
2024 Antithesis
debian/copyright
1
//go:build no_antithesis_sdk
2
3
package random
4
5
import (
6
crand "crypto/rand"
7
"encoding/binary"
8
)
9
10
func GetRandom() uint64 {
11
var tmp [8]byte
12
crand.Read(tmp[:])
13
return binary.LittleEndian.Uint64(tmp[:])
14
}