Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRNG ¶
DefaultRNG returns a new pseudo-random source seeded by a crypto level seed.
func Generate ¶
Generate generates and returns a random hero name. Eventually you can specify a `tokenLength` greater then zero to generate and additional token and create even more entropy.
func NewCryptoSeed ¶
NewCryptoSeed returns a crypto level random numbers generator seed. It returns an error and a seed equals to -1 if the underlying system call fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.