fixes q order problems and temporary file names when inchar > 'z'.
[unix-history] / usr / src / libexec / makekey / makekey.c
CommitLineData
6b0e43ed
BJ
1static char *sccsid = "@(#)makekey.c 4.1 (Berkeley) %G%";
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
9char *crypt();
10
11main()
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}