奇偶校验是否只能在一定范围内校验数据的正确性?
Whether the `odd-even check` only can check the data correctness within limits?
The length of DES arithmetic Secret Key is 64 bit, the valid secret key length is 56, the other 8 bit use as odd-even check
.
我有一个疑问,odd-even check
是否只能在一定范围内检查数据的正确性?
如引用,我用下图来解释我的想法:
第一行,odd check
值为0
,如果我切换row 2
和row 3
,odd check
值仍然是0
,所以odd-even check
无法检查这个问题。
所以odd-even check
只能检查1
和0
的计数,并不能判断数据是否正确,对吧?
没错。 odd-even 检查捕获 one 位的变化,但是交换 1
和 0
涉及改变 two 位。有些方法可以捕获两位的变化,但它们需要不止一个校验位。
The length of DES arithmetic Secret Key is 64 bit, the valid secret key length is 56, the other 8 bit use as
odd-even check
.
我有一个疑问,odd-even check
是否只能在一定范围内检查数据的正确性?
如引用,我用下图来解释我的想法:
第一行,odd check
值为0
,如果我切换row 2
和row 3
,odd check
值仍然是0
,所以odd-even check
无法检查这个问题。
所以odd-even check
只能检查1
和0
的计数,并不能判断数据是否正确,对吧?
没错。 odd-even 检查捕获 one 位的变化,但是交换 1
和 0
涉及改变 two 位。有些方法可以捕获两位的变化,但它们需要不止一个校验位。