home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
des2.zip
/
DES.H
< prev
next >
Wrap
Text File
|
1993-03-15
|
504b
|
19 lines
/* -------------- des.h ---------------- */
/* Header file for Data Encryption Standard algorithms */
/* -------------- prototypes ------------------- */
VOID initkey(char *key);
VOID encrypt(char *blk);
VOID decrypt(char *blk);
VOID setparity(CHAR *key);
/* ----------- tables ------------ */
extern UCHAR Pmask[];
extern UCHAR IPtbl[];
extern UCHAR Etbl[];
extern UCHAR Ptbl[];
extern UCHAR stbl[8][4][16];
extern UCHAR PC1tbl[];
extern UCHAR PC2tbl[];
extern UCHAR ex6[8][2][4];