package
Version:
v0.0.0-...-b7732f5
Opens a new window with list of versions in this module.
Published: Jan 6, 2022
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Int31 returns a non-negative random 31-bit integer as an int32.
Int63 returns a non-negative random 63-bit integer as an int64.
New returns 16-byte raw random bytes.
It is not printable, you can use encoding/hex or encoding/base64 to print it.
func NewHex() (rd []byte)
NewHex returns 32-byte hex-encoded bytes.
Read reads len(p)-byte raw random bytes to p.
Uint32 returns a random 32-bit integer as a uint32.
Uint64 returns a random 64-bit integer as a uint64.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.