// GenerateCryptoSafeRandomDataN returns a slice of bytes of length n, filled with cryptographically-safe random data.
GenerateCryptoSafeRandomDataN returns a slice of bytes of length n, filled with cryptographically-safe random data.
// GenerateCryptoSafeRandomDataN returns a slice of bytes of length n filled with cryptographically - safe random data .
func GenerateCryptoSafeRandomDataN(n int) ([]byte, error) {
	b := make([]byte, n)
	_, err := cryptoRand.Read(b)
	if err != nil {
		return nil, err
	}
	return b, nil
}
func GenerateCryptoSafeRandomDataN ( n int ) ( [ ] byte , error ) { b := make ( [ ] byte , n ) _ , err := cryptoRand . Read ( b ) if err != nil { return nil , err } return b , nil }
GenerateCryptoSafeRandomDataN returns a slice of bytes of length n, filled with cryptographically-safe random data.
GenerateCryptoSafeRandomDataN returns a slice of bytes of length n filled with cryptographically - safe random data .