randutil

package
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CryptoRand

type CryptoRand struct {
	// contains filtered or unexported fields
}

func NewCryptoRand

func NewCryptoRand(r io.Reader, s mrand.Source) CryptoRand

func (*CryptoRand) Int64n

func (cr *CryptoRand) Int64n(n int64) (int64, error)

func (*CryptoRand) Intn

func (cr *CryptoRand) Intn(n int) (int, error)

func (*CryptoRand) MustInt64n

func (cr *CryptoRand) MustInt64n(n int64) int64

func (*CryptoRand) MustIntn

func (cr *CryptoRand) MustIntn(n int) int

Jump to

Keyboard shortcuts

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