random

package
v0.0.0-...-6b48cb7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomInt

func GetRandomInt(length int) *big.Int

commitment question 2

func GetRandomIntFromZn

func GetRandomIntFromZn(n *big.Int) *big.Int

func GetRandomIntFromZnStar

func GetRandomIntFromZnStar(n *big.Int) *big.Int

func GetRandomPrimeInt

func GetRandomPrimeInt(length int) *big.Int

func GetSafeRandomInt

func GetSafeRandomInt(length int) *big.Int

func GetSafeRandomPrimeInt

func GetSafeRandomPrimeInt(length int) *big.Int

func GetSafeRandomPrimeInt2

func GetSafeRandomPrimeInt2(length int, rndInt *big.Int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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