Print this page
3882 remove xmod & friends
*** 31,41 ****
/*
* A one-rotor machine designed along the lines of Enigma
* but considerably trivialized.
*/
- /* EXPORT DELETE START */
#define ECHO 010
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
--- 31,40 ----
*** 94,109 ****
t3[ic] = k;
}
for (i = 0; i < ROTORSZ; i++)
t2[t1[i]&MASK] = i;
}
- /* EXPORT DELETE END */
int
main(int argc, char **argv)
{
- /* EXPORT DELETE START */
extern int optind;
char *p1;
int i, n1, n2, nchar;
int c;
struct {
--- 93,106 ----
*** 197,203 ****
n2++;
if (n2 == ROTORSZ) n2 = 0;
}
}
return (0);
- /* EXPORT DELETE END */
}
--- 194,199 ----