Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRandom = errors.New("no randomness available")
Functions ¶
func CreateRandomSHA256Token ¶
func CreateRandomSHA512Token ¶
func CreateSecretArray ¶
This tries to wait a few seconds to get a random number from the system, in case it fails bc the system is busy.
func GenRandomUIntNotPrime ¶
func GenRandomUIntNotPrime() uint64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.