/[mcrypt]/libmcrypt-nm/lib/enigma.h
ViewVC logotype

Contents of /libmcrypt-nm/lib/enigma.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Mon May 22 13:09:16 2000 UTC (23 years, 10 months ago) by nmav
Branch: MAIN, mcrypt
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain

1 #define E_ECHO 010
2 #define ROTORSZ 256
3 #define MASK 0377
4
5 typedef struct crypt_key {
6 char t1[ROTORSZ];
7 char t2[ROTORSZ];
8 char t3[ROTORSZ];
9 char deck[ROTORSZ];
10 char cbuf[13];
11 int n1, n2, nr1, nr2;
12 } CRYPT_KEY;
13
14 void _mcrypt_enigma_set_key(CRYPT_KEY *ckey, char* password, int plen);
15 void _mcrypt_enigma_encrypt(CRYPT_KEY *ckey, void *gtext, int textlen);
16 void _mcrypt_enigma_decrypt(CRYPT_KEY *ckey, void *gtext, int textlen);

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26