dyncrc16

package
v0.0.0-...-d4d09d7 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 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