cryptorand

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAlphaNumericRandomString added in v0.0.19

func GenerateAlphaNumericRandomString(size int) string

func GenerateLowerCaseRandomString added in v0.0.19

func GenerateLowerCaseRandomString(size int) string

func GenerateNumericRandomString added in v0.0.19

func GenerateNumericRandomString(size int) string

func GenerateRandomString added in v0.0.19

func GenerateRandomString(size int) string

func GenerateUpperCaseRandomString added in v0.0.19

func GenerateUpperCaseRandomString(size int) string

func Rand

func Rand() *rand.Rand

Types

type CryptoRand

type CryptoRand struct {
	Rand *rand.Rand
}

type CryptoSource

type CryptoSource struct{}

func (CryptoSource) Int63

func (s CryptoSource) Int63() int64

func (CryptoSource) Seed

func (s CryptoSource) Seed(seed int64)

func (CryptoSource) Uint64

func (s CryptoSource) Uint64() (v uint64)

Jump to

Keyboard shortcuts

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