set3

package
v0.0.0-...-af4e1f5 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AES128CTR

func AES128CTR(input, key []byte, nonce uint64) ([]byte, error)

func CH20

func CH20() []byte

func MTSOracle

func MTSOracle(in []byte, key uint32) []byte

func MTStreamCipher

func MTStreamCipher(in []byte, seed uint32) (out []byte, err error)

func NewMT19937

func NewMT19937(seed uint32) *mt19937

Types

type MTStream

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

func NewMTStream

func NewMTStream(seed uint32) *MTStream

func (*MTStream) Read

func (mts *MTStream) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

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