xref: /original-bsd/libexec/makekey/makekey.c (revision d25e1985)
1 static char *sccsid = "@(#)makekey.c	4.1 (Berkeley) 10/01/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 }
21