Skip to content

checksum

checksum(input): string

Defined in: crc.ts:28

Compute the CRC-16/CCITT-FALSE checksum of an ASCII-encoded payload and return it as a 4-character uppercase hex string. The EMVCo spec requires the trailing zero-padding to keep the QR payload length stable.

string

string