OOP's - I screwed-up
I was incorrectly "0"-ing a byte - It all seemed correct ...
The documentation for the CRC Table said the Polynomial it was using was not the
one we needed...

The CRC Table was using the correct Polynomial X^16 + X^15 + X^2 + 1 - I just
wrote incorrect code :(


Paul
____________________Reply Separator____________________
Subject:  RE: [DUG]:  CRC Checks
Author:   [EMAIL PROTECTED]
Date:          03/10/2000 10:01



     The MS CryptoAPI has all the standard hash functions (MD5, SHA1 etc).
     Probably overkill for most CRC Checks though.


     -----Original Message-----
     From: Luke Pascoe [mailto:[EMAIL PROTECTED]]
     Sent: Tuesday, October 03, 2000 9:05 AM
     To: Multiple recipients of list delphi
     Subject: Re: [DUG]: CRC Checks


     I have an MD5 function which works on a stream (wrote it myself even :-) ).

     ----- Original Message -----
     From: "Rohit Gupta" <[EMAIL PROTECTED]>
     To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
     Sent: Monday, October 02, 2000 8:52 PM
     Subject: Re: [DUG]: CRC Checks


     > Paul, if that doesnt work let me know, I have a whole suite of CRC
     > algorithms from the DOS days.
     >
     > ----- Original Message -----
     > From: "Myles Penlington" <[EMAIL PROTECTED]>
     > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
     > Sent: Monday, 2 October 2000 16:10
     > Subject: RE: [DUG]: CRC Checks
     >
     >
     > > I believe you just treat the final result as a 16 bit integer (word)
     and
     > add
     > > 1 to this result.
     > >
     > > Myles.
     > >
     > >
     > > -----Original Message-----
     > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
     > > Sent: Monday, October 02, 2000 3:10 PM
     > > To: Multiple recipients of list delphi
     > > Subject: [DUG]: CRC Checks
     > >
     > >
     > > Hi all,
     > >
     > > Help...
     > >
     > > Does anyone know how to create a Table for calculating a 16-Bit CRC
     using
     > > the
     > > Polynomial:  X^16 + X^15 + X^2 + 1
     > >
     > > I have a Table for calculating a 16-*Bit CRC using the Polynomial:
     X^16
     +
     > > X^15
     > > + X^2 + X^1
     > >
     > > We need to convert the table from using  X^16 + X^15 + X^2 + X^1 to
     using
     > > X^16
     > > + X^15 + X^2 + 1 - (Our App talks to a mainframe App which uses this
     CRC)
     > >
     > > TIA
     > >
     > > Regards
     > > Paul
     > >
     > >
     > >
     >
     >
     --------------------------------------------------------------------------
     > -
     > >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
     > >                   Website: http://www.delphi.org.nz
     > > To UnSub, send email to: [EMAIL PROTECTED]
     > > with body of "unsubscribe delphi"
     >
     >
     --------------------------------------------------------------------------
     > -
     > >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
     > >                   Website: http://www.delphi.org.nz
     > > To UnSub, send email to: [EMAIL PROTECTED]
     > > with body of "unsubscribe delphi"
     > >
     >
     >
     --------------------------------------------------------------------------
     -
     >     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
     >                   Website: http://www.delphi.org.nz
     > To UnSub, send email to: [EMAIL PROTECTED]
     > with body of "unsubscribe delphi"
     >

     ---------------------------------------------------------------------------
         New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                       Website: http://www.delphi.org.nz
     To UnSub, send email to: [EMAIL PROTECTED]
     with body of "unsubscribe delphi"

     _____________________________________________________________________
     This e-mail message has been scanned and cleared by MailMarshal using
     McAfee VirusScan (Ver 4.x) at http://www.gen-i.co.nz
     _____________________________________________________________________

     _____________________________________________________________________
     This e-mail message has been scanned and cleared by MailMarshal at
     http://www.gen-i.co.nz
     _____________________________________________________________________
     ---------------------------------------------------------------------------
         New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                       Website: http://www.delphi.org.nz
     To UnSub, send email to: [EMAIL PROTECTED]
     with body of "unsubscribe delphi"(See attached file: att1.eml)

att1.eml

Reply via email to