且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

校验和计算

更新时间:2023-02-06 15:26:13

这看起来像是 CRC (具体来说它看起来像CRC-16-CCITT,由诸如802.15.4,X.25,V.41,CDMA,蓝牙,XMODEM,HDLC,PPP和IrDA)。你可能想阅读关于链接到***页面的CRC理论,以获得更多的见解。或者,您可以将其视为黑盒,只是解决计算校验和的问题。

This looks like a CRC (specifically it looks like CRC-16-CCITT, used by things like 802.15.4, X.25, V.41, CDMA, Bluetooth, XMODEM, HDLC, PPP and IrDA). You might want to read up on the CRC theory on the linked-to Wikipedia page, to gain some more insight. Or you can view this as a "black box" that just solves the problem of computing a checksum.