randutil

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package randutil provides utilities for cyrpto/rand.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int() int

Int is similar to math/rand.Int but uses crypto/rand.Reader under the hood.

func Int63

func Int63() int64

Int63 is similar to math/rand.Int63 but uses crypto/rand.Reader under the hood.

func Int63n

func Int63n(n int64) int64

Int63n is similar to math/rand.Int63n but uses crypto/rand.Reader under the hood.

func Intn

func Intn(n int) int

Intn is similar to math/rand.Intn but uses crypto/rand.Reader under the hood.

Types

This section is empty.

Jump to

Keyboard shortcuts

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