xrandom

package
v0.0.0-...-0149ed5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCryptoRandomString

func GenerateCryptoRandomString(n int) (string, error)

GenerateCryptoRandomString generates a cryptographically secure random string. https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-go/22892986#22892986

func GenerateCryptoRandomStringNoCache

func GenerateCryptoRandomStringNoCache(n int) (string, error)

GenerateCryptoRandomStringNoCache generates a cryptographically secure random string without caching.

func GenerateMathRandomString

func GenerateMathRandomString(n int) string

GenerateMathRandomString generates a random string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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