TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gary Chambers
from: Thomas Seeling
date: 1996-03-20 20:32:52
subject: 32-bit CRC

Hallo, Gary!

*** Am Dienstag 19. M„rz 1996 um 00:37 schrieb Mike Bilow an Gary Chambers:

 GC>> Can someone quickly calculate the CRC-32s of "UAL"
and "AAL"
 GC>> (no quotes), and tell me what you get?  For some strange

8:\work # cat foo.c
#include 
#include 
#include "crc32.h"

int main(void) {
  unsigned long c1,c2;

  crc32str("UAL",&c1);
  crc32str("AAL",&c2);
  printf("%08lx %08lx\n",c1,c2);
  return 0;
}
9:\work # ./foo
9a7729f6 757c504f


Tschau...Thomas

--- E3-32/1.11-32/2.50+
* Origin: Die TeX-Box +49-6034-1455 V.34 -930022 ISDN 24h (2:244/1130.42)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 244/1130 24/999 2/777 396/1 270/101 712/515 711/808 809 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™.