Article View: alt.security.pgp
Article #185Re: What is Checksum, CRC and MD5 hash???
From: vawjr08
Date: Tue, 12 Dec 1995 00:00
Date: Tue, 12 Dec 1995 00:00
38 lines
2837 bytes
2837 bytes
-----BEGIN PGP SIGNED MESSAGE----- In <4aj5d1$r5v@nntp.igs.net>, curryk@cnwl.igs.net (Kevin Curry) writes: >Hello, > > All this time using computers and I never really asked. Hummm!!!! > >What is Checksum, Cyclic Redundancy Check and a MD5 Hash Function? A Checksum is simply the sum of all the bytes (or 'words' or 'longs') in a message/record/whathaveyou. It may or may not be truncated back to a byte/word/long. Its advantage is it's fast. Disadvantage is that there are some common errors it doesn't find. CRC is the remainder after logically dividing (use XOR instead of subtract) a message/record/whathaveyou by a 'polynomial'. A well chosen polynomial finds most common transmission errors. CRC16 has a polynomial of: x^16 + x^15 + x^2 + 1 when doing the divide, you'll be left with a remainder which fits into 16 bits. if this is then appended to the original message, the reciver simply does the divide over the entire datastream and gets 0 as the remainder. MD5 - damifino... I haven't worked with it, nor read anything about it Victor A. Wagner, Jr. Key fingerprint = 4D 20 EB F6 01 01 B0 69 CFO Metadigm, Inc. 38 17 8D BF C8 46 E4 7A Vice-Chair Orange County (CA) Libertarian Party http://www.lp.org/lp/ The five most dangerous words in the English language: "There oughtta be a law" -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBMM1G1pO57AuaJdhFAQFxLAL/bkYIjGteIxJoh0XdsfTj5lzUIKNqFQVf IAI2k8crOqnG1/P/1dfbd9RXrIgQuOEsrEdDcFqkDlB+uOxRGVStSZ8cpjnRQeMI 1nzbMoW7fmTuV1dCaqtvNfwMK133FyDV =443G -----END PGP SIGNATURE-----
Technical Details
Message-ID:
<4ajfd2$2l1m@news-s01.ny.us.ibm.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4aj5d1$r5v@nntp.igs.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115914,6fde8c59366160eb,start X-Google-Attributes: gid115914,public X-Google-Thread: f6126,2858973aa00a1ec9 X-Google-Attributes: gidf6126,public X-Google-Thread: 10db24,6fde8c59366160eb,start X-Google-Attributes: gid10db24,public X-Google-Thread: f7536,6fde8c59366160eb,start X-Google-Attributes: gidf7536,public X-Google-Thread: 112044,6fde8c59366160eb,start X-Google-Attributes: gid112044,public X-Google-Thread: fcd68,6fde8c59366160eb,start X-Google-Attributes: gidfcd68,public X-Google-Thread: 10304d,6fde8c59366160eb,start X-Google-Attributes: gid10304d,public X-Google-Thread: f8b5f,6fde8c59366160eb,start X-Google-Attributes: gidf8b5f,public From: vawjr08@ibm.net Subject: Re: What is Checksum, CRC and MD5 hash??? Date: 1995/12/12 Message-ID: <4ajfd2$2l1m@news-s01.ny.us.ibm.net> X-Deja-AN: 121716439 distribution: inet references: <4aj5d1$r5v@nntp.igs.net> reply-to: vawjr08@ibm.net newsgroups: alt.security.pgp,alt.industrial.computing,alt.comp.virus,cern.computing,comp.ai.edu,comp.arch.arithmetic,comp.compression,comp.edu,comp.hardware,comp.org.decus,comp.org.ieee,comp.programming