Hawkynt

CRC-16-ANSI

16-bit CRC used in ANSI standards and some protocols Uses 16-bit polynomial with reflected input processing.

Properties

Property Value
Category Checksums
Sub-category Cyclic Redundancy Check
Security status πŸŽ“ Educational Only
Complexity Beginner
Inventor W. Wesley Peterson
Year 1961
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/checksum/crc.js

Security

Status: πŸŽ“ Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” Empty string

Field Value
input (empty)
expected ffff

Vector 2 β€” Single byte β€˜a’

Field Value
input 61
expected a87e

Vector 3 β€” String β€˜abc’

Field Value
input 616263
expected 5749

← All algorithms