一种WAFERMARK字符校验方法讨论

本文详细探讨了一种用于生成WAFERMARK校验字符的算法,包括从初始设定、错误检测的最终校验和计算,到非零结果处理,以及如何将二进制位转换为ASCII字符的过程。并通过一个示例说明了算法的应用,展示了如何将23这个信息和校验字符A0结合成最终的复合消息23D2。
摘要由CSDN通过智能技术生成

在这里插入图片描述

9.9 An Algorithm for Generating the Check Characters— The check characters can be generated as follows:
9.9.1 Initially, assume that the check characters are A0 (the first check character is the letter A, the second is the
numeral 0).
9.9.2 Calculate the final checksum in the manner described above for error detection. If the result is zero, the check
characters are correct, and the algorithm terminates.
9.9.3 If the result of step 2 is nonzero, subtract it from 59, yielding a number in the range 1–58.
9.9.4 Convert the result of step 3 to binary.
9.9.5 Add the least significant three bits of the binary number to the numerical value of the second assumed check
character 0 (numeral zero). This will yield a value that corresponds to an ASCII character in the range 0–7.
9.9.6 Add the next higher three bits of

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值