entropygenerator

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntropyGenerator

type EntropyGenerator interface {
	GenerateEntropy() core.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() core.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