entropygenerator

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: Apache-2.0 Imports: 2 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntropyGenerator

type EntropyGenerator interface {
	GenerateEntropy() insolar.Entropy
}

EntropyGenerator is the base interface for generation of entropy for pulses

type StandardEntropyGenerator

type StandardEntropyGenerator struct {
}

StandardEntropyGenerator is the base impl of EntropyGenerator with using of crypto/rand

func (*StandardEntropyGenerator) GenerateEntropy

func (generator *StandardEntropyGenerator) GenerateEntropy() insolar.Entropy

GenerateEntropy generate entropy with using of EntropyGenerator

Jump to

Keyboard shortcuts

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