hashutil

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Unlicense Imports: 1 Imported by: 0

Documentation

Overview

Package hashutil provides utility interfaces for hash functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash16

type Hash16 interface {
	hash.Hash
	// Sum16 returns the 16-bit checksum of the hash.
	Sum16() uint16
}

Hash16 is the common interface implemented by all 16-bit hash functions.

type Hash8

type Hash8 interface {
	hash.Hash
	// Sum8 returns the 8-bit checksum of the hash.
	Sum8() uint8
}

Hash8 is the common interface implemented by all 8-bit hash functions.

Directories

Path Synopsis
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
Package crc16 implements the 16-bit cyclic redundancy check, or CRC-16, checksum.
Package crc8 implements the 8-bit cyclic redundancy check, or CRC-8, checksum.
Package crc8 implements the 8-bit cyclic redundancy check, or CRC-8, checksum.

Jump to

Keyboard shortcuts

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