groestl

package
v5.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sum256

func Sum256(data []byte) []byte

Types

type Digest

type Digest struct {
	HashBitLen int
	// contains filtered or unexported fields
}

Digest is being used during algorithm execution. Provides easy access to all information about current state of data processing.

func New256

func New256() *Digest

func (*Digest) BlockSize

func (d *Digest) BlockSize() int

func (*Digest) Reset

func (d *Digest) Reset()

Reset Equivalent to Init from reference implementation. Initiates values for Digest struct, therefore determines exact type of groestl algorithm.

func (*Digest) Size

func (d *Digest) Size() int

func (*Digest) Sum

func (d *Digest) Sum(in []byte) []byte

func (*Digest) Write

func (d *Digest) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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