#ifndef _HASHLIB_H #define _HASHLIB_H typedef unsigned short WORD; /* Should be 16-bit = 2 bytes */ void RC5_SETUP(unsigned char *K); /* secret input key K[0...b-1] */ void RC5_DECRYPT(WORD *ct, WORD *pt); /* 2 WORD input ct/output pt */ void RC5_ENCRYPT(WORD *pt, WORD *ct); /* 2 WORD input pt/output ct */ void hash(char *msg, WORD *out); /* msg holds input. 2 WORD output out */ #endif