Commit | Line | Data |
---|---|---|
8dbf4a5b KT |
1 | /* |
2 | * You send it 10 bytes. | |
3 | * It sends you 13 bytes. | |
4 | * The transformation is expensive to perform | |
5 | * (a significant part of a second). | |
6 | */ | |
7 | ||
8 | char *crypt(); | |
9 | ||
10 | main() | |
11 | { | |
12 | char key[8]; | |
13 | char salt[2]; | |
14 | ||
15 | read(0, key, 8); | |
16 | read(0, salt, 2); | |
17 | write(1, crypt(key, salt), 13); | |
18 | return(0); | |
19 | } |