最近研究緊 FPS qrcode
佢個 format 所有都冇咩問題
但 CRC 2-byte 4個位點計出黎?
https://ffo.hkma.gov.hk/download ... ents_in_HK_v1_0.pdf
The CRC (ID “63”) shall be calculated according to [ISO/IEC 13239] using the
polynomial '1021' (hex) and initial value 'FFFF' (hex). The data over which the
checksum is calculated shall cover all data objects, including their ID, Length and
Value, to be included in the QR Code, in their respective order, as well as the ID and
Length of the CRC itself (but excluding its Value). Following the calculation of the
checksum, the resulting 2-byte hexadecimal value shall be encoded as a 4-character
Alphanumeric Special value by converting each nibble to an Alphanumeric Special
character. For example, a CRC with a two-byte hexadecimal value of '007B' is
included in the QR Code as "6304007B".
 |