generate

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MathRandString added in v0.2.4

func MathRandString(n int) string

MathRandString generates a random string that does not need to be cryptographically secure This is prefered to RandString when you don't need the cryptographic security as it is not a drain on the entropy pool.

func RandString

func RandString(n int) (string, error)

RandString generates a cryptographically-safe random number

Types

This section is empty.

Jump to

Keyboard shortcuts

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