TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Frank Malcolm
from: Niels Petersen
date: 1996-11-07 20:44:02
subject: Do it yourself Virus chec

Hi Frank

 > A CRC applies a polynomial which is calculated to minimise the
 > probability of a change to the file ending up with the same CRC.

I got the file that Bob recommended, and learnt all about polynominals.
Remembering it al is another matter though :-)


 > NP> I just use a checksum of the ascii value of each byte of the file.

 > Not as effective as a CRC. A simple change like say 2 bytes being
 > swapped will result in the same checksum for example. There was some
 > commercial software I used once which must have used that or a similar
 > approach for the user's registration details. rFakn was as valid a user
 > as Frank. :-)

I can see that now you have pointed it out.
I have got a pice of software that must be done even worse, as upper or
lower case on any letter is still acceptable.


 > I've just coded the 32-bit CRC which PKZIP & ARJ use in (very) fast asm.
 > It takes 6 minutes to calc the CRC of 5400 files, 220meg, on one of my
 > hard disks. Also did the 16-bit CRC which all the other archivers use,
 > and the 16-bit XModem one but didn't bother timing those.

Is the 32 bit code available in an EXE file ??????

Cheers
Niels Petersen

--- FMail/386 0.98
* Origin: Hang up your logic over there. (3:711/934.22)
SEEN-BY: 670/213 711/934 712/610
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.