rathash

package module
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

IGNORE THIS FOR NOW, thanks.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeySize

func KeySize() int

func NewHash

func NewHash(key [32]byte, offset *big.Int) (hash.Hash, error)

Types

type Digest

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

func NewDigest

func NewDigest(key [32]byte, offset [9]byte) (*Digest, error)

func (*Digest) BlockSize

func (d *Digest) BlockSize() int

func (*Digest) Reset

func (d *Digest) Reset()

func (*Digest) Size

func (d *Digest) Size() int

func (*Digest) Sum

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

func (*Digest) Write

func (d *Digest) Write(buf []byte) (int, error)

TODO: Investigate that 1GiB inputs switch between allocating 4.5 and 6.1 MB.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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