Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
给定 2 个字节的数据,假设我有 2 位错误。 哪一个最适合用于检测错误?
一维奇偶校验位,其中为数据中的每个字节计算一位,
或者
从数据中的每个字节计算的 8 位校验和,
CRC 8 方案与生成器 100000001
8-CRC 保证检测错误。校验和不是 - 两位中的错误可能会在总和中取消。保证一位奇偶校验不会检测到两位错误。