Commit | Line | Data |
---|---|---|
31cef89c | 1 | static char *sccsid = "@(#)makekey.c 4.1 (Berkeley) 10/1/80"; |
6b0e43ed BJ |
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 | } |