dyncrc16

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package dyncrc16 implements the Dynastream CRC-16 checksum.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(data []byte) uint16

Checksum returns the Dynastream CRC-16 checksum of data.

Types

type Hash16

type Hash16 interface {
	hash.Hash
	Sum16() uint16
}

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

func New

func New() Hash16

New returns a new hash.Hash16 computing the Dynastream CRC-16 checksum.

Jump to

Keyboard shortcuts

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