Module hash.crc32 stdlib

hash.crc32
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
0
Imported by:
1
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

This section is empty.

Imported by

Aliases

This section is empty.

Constants

#constant ieee

ieee       = u32(0xedb88320)

polynomials

#constant castagnoli

castagnoli = u32(0x82f63b78)

polynomials

#constant koopman

koopman    = u32(0xeb31d82e)

polynomials

Sum types

This section is empty.

Functions

#fn new

fn new(poly int) &Crc32

new creates a Crc32 polynomial.

#fn sum

fn sum(b []u8) u32

sum calculates the CRC-32 checksum of b by using the IEEE polynomial.

Structs

This section is empty.

Interfaces

This section is empty.

Enums

This section is empty.