crc64

package
v0.6.1-0...-ae23e4f Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package crc64 implements the Avro CRC-64 checksum. See https://avro.apache.org/docs/current/spec.html#schema_fingerprints for information.

Index

Constants

View Source
const Empty = 0xc15d213aa4d7a795

Empty is the empty checksum.

View Source
const Size = 8

Size is the of a CRC-64 checksum in bytes.

Variables

This section is empty.

Functions

func New

func New() hash.Hash64

New creates a new hash.Hash64 computing the Avro CRC-64 checksum. Its Sum method will lay the value out in big-endian byte order.

Types

type Table

type Table [256]uint64

Table is a 256-word table representing the polynomial for efficient processing.

Jump to

Keyboard shortcuts

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