random

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package random provides functions that generate random numbers or bytes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomBytes

func GetRandomBytes(n uint32) []byte

GetRandomBytes randomly generates n bytes.

func GetRandomUint32

func GetRandomUint32() uint32

GetRandomUint32 randomly generates an unsigned 32-bit integer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL