DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
rand.Read()
Examples using...
rand.Read()
Recent
Examples
Read in Go
by GoDoc
Go
rand.Read
fmt.Println
bytes
bytes.Equal
crypto/rand
This example reads 10 cryptographically secure pseudorandom numbers from rand.Reader and writes them to a byte slice.