"Fossies" - the Fresh Open Source Software Archive

Member "libmcrypt-2.5.8/modules/algorithms/enigma.h" (9 Mar 2002, 216 Bytes) of package /linux/privat/old/libmcrypt-2.5.8.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "enigma.h" see the Fossies "Dox" file reference documentation.

    1 #define E_ECHO 010
    2 #define ROTORSZ 256
    3 #define MASK 0377
    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;