hashutil

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2015 License: ISC Imports: 1 Imported by: 0

README

hashutil

These packages provides utility interfaces for hash functions, and implements CRC-8 and CRC-16.

Documentation

Documentation provided by GoDoc.

  • hashutil: provides utility interfaces for hash functions.
    • crc8: implements the 8-bit cyclic redundancy check, or CRC-8, checksum.
    • crc16: implements the 16-bit cyclic redundancy check, or CRC-16, checksum.

public domain

This code is hereby released into the public domain.

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