forked from TrueCloudLab/frostfs-contract
12 lines
121 B
Go
12 lines
121 B
Go
|
package tests
|
||
|
|
||
|
import (
|
||
|
"math/rand"
|
||
|
)
|
||
|
|
||
|
func randomBytes(n int) []byte {
|
||
|
a := make([]byte, n)
|
||
|
rand.Read(a)
|
||
|
return a
|
||
|
}
|