Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 校验
Search - 校验 - List

CRC校验
1、循环校验码(CRC码):是数据通信领域中最常用的一种差错校验码,其特征是信息
字段和校验字段的长度可以任意选定。
2、生成CRC码的基本原理:任意一个由二进制位串组成的代码都可以和一个系数仅
为‘0’和‘1’取值的多项式一一对应。例如:代码1010111对应的多项式
为x6+x4+x2+x+1,而多项式为x5+x3+x2+x+1对应的代码101111。
3、CRC码集选择的原则:若设码字长度为N,信息字段为K位,校验字段为R位(N=K+R),
则对于CRC码集中的任一码字,存在且仅存在一个R次多项式g(x),
使得V(x)=A(x)g(x)=xRm(x)+r(x);
其中:    m(x)为K次信息多项式, r(x)为R-1次校验多项式,
         g(x)称为生成多项式:
g(x)=g0+g1x+ g2x2+...+g(R-1)x(R-1)+gRxR
发送方通过指定的g(x)产生CRC码字,接收方则通过该g(x)来验证收到的CRC码字。
4、CRC校验码软件生成方法:
    借助于多项式除法,其余数为校验字段。
例如:信息字段代码为: 1011001;对应m(x)=x6+x4+x3+1
      假设生成多项式为:g(x)=x4+x3+1;则对应g(x)的代码为: 11001
      x4m(x)=x10+x8+x7+x4 对应的代码记为:10110010000;
采用多项式除法: 得余数为: 1010     (即校验字段为:1010)
发送方:发出的传输字段为: 1 0 1 1 0 0 1 1 0 10
                          信息字段       校验字段
接收方:使用相同的生成码进行校验:接收到的字段/生成码(二进制除法)
                  如果能够除尽,则正确。


Date : 2008-11-07 Size : 6.36kb User : ttongg

ECC校验FPGA源码,VHDL编写
Date : 2011-06-28 Size : 6.3kb User : concoct

计算校验和程序内涵说明书
Date : 2012-02-10 Size : 80.57kb User : zhangyuexuexi

EXE文件的自身校验-EXE file its own calibration
Date : 2025-07-02 Size : 1kb User : 左保权

快速CRC校验源码-Fast CRC FOSS
Date : 2025-07-02 Size : 3kb User : 果の果ooοО

16-bit数的偶数奇偶校验及阶乘运算,用verilog写-16-bit number of even parity and factorial computation, written using Verilog
Date : 2025-07-02 Size : 1kb User : 杨艳

CRC-16校验源程序及算法分析-CRC-16 checksum algorithm analysis and source
Date : 2025-07-02 Size : 19kb User : 李小明

简单的水平垂直偶校验,是用VC写的,-simple dual vertical level calibrator, is to use the VC wrote,
Date : 2025-07-02 Size : 219kb User : 照茜

给任意长度的字符串,加CRC校验码的c语言算法-to arbitrary length of the string, plus CRC algorithm in C Language
Date : 2025-07-02 Size : 2kb User : 赵小美

DL : 0
校验码算法,可运行,加说明,例如:代码690123456789X1(共13位)校验码的计算 步骤 举例说明 1、自右向左编号 位置序号 13 12 11 10 9 8 7 6 5 4 3 2 1 代 码 6 9 0 1 2 3 4 5 6 7 8 9 X1 2、从序号2开始求出偶数 9+7+5+3+1+9=34 位上数字之和(1) 3、(1)*3=(2) 34*3=102 4、从序号3开始求出奇数 8+6+4+2+0+6=34 位上数字之和(3) 5、(2)+(3)=(4) 102+34=128 6、用大于或等于结果(4) 且为10最小整数倍的数 130-128=2 减去(4),其差即为所 校验码X1=2-690123456789X113 1 3 12 11 10 9 8 7 6 5 4 3 2 1 6 9 0 1 2 3 4 5 6 7 8 9 2 X1, from the number two even get started 9 7 5 3 1 9 = 34 on the figures and (1), 3 (1)* 3 = (2) 34 3 = 102* 4, from the opening number 3 before sought odd 8 6 4 2 0 6 = 34 on the figures, and (3), 5 (2) (3) = (4) 102 34 = 128 6, with greater than or equal to the results (4) and as a 10 multiples of the minimum number 130-128 = 2 minus (4), the difference represents correcting code X1 = 2
Date : 2025-07-02 Size : 227kb User : 明明

本代码是C语言实现的CRC循环校验具体算法-the code is the C language CRC checksum algorithm for the cycle
Date : 2025-07-02 Size : 2kb User : 汪永威

这是一个小程序,用VC++6.0来实现循环冗余码校验CRC算法。 标准为CRC-4,生成多项式为C(X)=X4+X+1, 应用举例为ITU G704 -This is a small program used to achieve VC 6.0 cyclical redundancy check CRC algorithm. Standards for the CRC-4, generating polynomial C (X) = X-1 X4, applications for the ITU G704
Date : 2025-07-02 Size : 1.12mb User : 藤力

这是CRC校验源码的分析,让你更了解CRC校验的原理-This is the CRC-source analysis and let you know more about the principles of the CRC
Date : 2025-07-02 Size : 20kb User : 周兵

HMAC即带密钥的HASH函数,用它产生的报文鉴别码(MAC)可以实现报文鉴别。这里我将其做成一个软件,用于对文件的合法性进行校验。以下我先简单介绍软件相关背景知识再介绍其代码实现。 -HMAC key is to bring the hash function, used the text of the report identifying code (MAC) can realize the text identification. I am here to create a software for the document verifying the legitimacy. I briefly introduce software-related background knowledge will introduce its implementation of the code.
Date : 2025-07-02 Size : 49kb User : 杨飞

8位C51,CRC校验原理单片机编程原程序-eight C51, CRC principles SCM original programming procedures
Date : 2025-07-02 Size : 1kb User : 欧阳

关键字: 校验和算法, VC.NET, 这是我VC.NET写的一个小程序,在控制台模式下实现校验和算法 希望更多的人与我交流, QQ:270596846 E_MAIL:chmuggmwtg@163.com -keyword : checksum algorithm, VC.NET, this is my VC.NET write a small program the console model under checksum algorithm hope more people shared with me, QQ : 270596846 E_MAIL : chmuggmwtg@163.com
Date : 2025-07-02 Size : 7kb User : 陈成

【汇编语言编程使用工具】【十六进制数相加校验和计算程序】-[Assembly language programming tools] [hexadecimal number add checksum calculation program]
Date : 2025-07-02 Size : 192kb User : 陈周

这是一个依靠检验文件CRC校验码来判断文件是否已经被病毒修改过的c程序-This is a test paper on CRC document to determine whether the virus has been revised procedures for the c
Date : 2025-07-02 Size : 17kb User : 王昆

Modbus Crc16校验码计算和一些相应的辅助功能。(Modbus Crc16 code calculate tool.)
Date : 2025-07-02 Size : 52kb User : hDragon

CRC校验,高位在前,低位在后具体算法:P(X)=X16+X15+X2+1(CRC checksum, high in the front, low in the back)
Date : 2025-07-02 Size : 1.31mb User : merry_me
« 12 3 4 5 6 7 8 9 10 ... 50 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.