strobe

package
v0.0.0-...-1979bc4 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeccakBlockSize = 25  // let b = KeccakBlockSize * 64, i.e. either 400, 800 or 1600 for keccak-f[b]
	SecLevel        = 128 // a target security level, either 128 or 256 bits

	StrobeVersion = "1.0.2"
)

Default Strobe parameters

Variables

This section is empty.

Functions

This section is empty.

Types

type Strobe

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

func NewStrobe

func NewStrobe(label string) (s Strobe)

func (*Strobe) Ad

func (s *Strobe) Ad(data []byte, more bool)

func (*Strobe) Clone

func (s *Strobe) Clone() (clone Strobe)

func (*Strobe) Key

func (s *Strobe) Key(data []byte, more bool)

func (*Strobe) MetaAd

func (s *Strobe) MetaAd(data []byte, more bool)

func (*Strobe) Prf

func (s *Strobe) Prf(data []byte, more bool)

Jump to

Keyboard shortcuts

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