Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Byte ¶
func Byte() byte
Byte returns a uniformly-distributed random byte. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func Byteslice ¶
func Byteslice(b []byte)
Byteslice populates the slice b with uniformly-distributed random bytes. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func ID8 ¶
func ID8() string
ID8 generates a random 8 byte ID string. This is not intended for cryptographic use.
func Int16 ¶
func Int16() int16
Int16 returns a uniformly-distributed random int16. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func Int32 ¶
func Int32() int32
Int32 returns a uniformly-distributed random int32. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func Int64 ¶
func Int64() int64
Int64 returns a uniformly-distributed random int64. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func Int8 ¶
func Int8() int8
Int8 returns a uniformly-distributed random int8. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func Uint16 ¶
func Uint16() uint16
Uint16 returns a uniformly-distributed random uint16. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
func Uint32 ¶
func Uint32() uint32
Uint32 returns a uniformly-distributed random uint32. The initial call may block until there is enough entropy in the system; subsequent calls will not block.
Types ¶
This section is empty.