简体   繁体   中英

When should hamming codes be used and when is crc better?

Following are the things that I already know about these:

  • Hamming codes can be used both to detect and correct errors, while in crc errors can only be detected.

  • CRC is used in communication while Hamming code is used to detect errors in memory disks

My main question is what is the advantage of using one code over another?

当CRC适用于任何长度的数据时,如果要检测和纠正固定长度的数据,则使用汉明。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM