package instance import "crypto/rand" // readRandom exists so newToken stays free of a direct crypto/rand import in // the file that handles the control protocol, keeping that file about the // protocol rather than about entropy. func readRandom(b []byte) (int, error) { return rand.Read(b) }