checksum
checksum(
input):string
Defined in: payload/dist/crc.d.ts:15
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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string