cryrand

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 3 Imported by: 9

README

cryrand

rng utility functions

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CryptoRandBytes

func CryptoRandBytes(n int) []byte

func CryptoRandInt64

func CryptoRandInt64() int64

Use crypto/rand to get an random int64.

func CryptoRandNonNegInt

func CryptoRandNonNegInt(n int64) int64

func MathRandBytes

func MathRandBytes(n int) []byte

func MathRandHexString

func MathRandHexString(n int) string

func MathRandInt64

func MathRandInt64() int64

func RandomString

func RandomString(n int) string

func RandomStringWithUp

func RandomStringWithUp(n int) string

func SeedOurMathRandSrc

func SeedOurMathRandSrc(seed int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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