|
|
1.1 root 1: static char *sccsid = "@(#)makekey.c 4.1 (Berkeley) 10/1/80";
2: /*
3: * You send it 10 bytes.
4: * It sends you 13 bytes.
5: * The transformation is expensive to perform
6: * (a significant part of a second).
7: */
8:
9: char *crypt();
10:
11: main()
12: {
13: char key[8];
14: char salt[2];
15:
16: read(0, key, 8);
17: read(0, salt, 2);
18: write(1, crypt(key, salt), 13);
19: return(0);
20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.