1*1047Sbill static char *sccsid = "@(#)makekey.c 4.1 (Berkeley) 10/01/80"; 2*1047Sbill /* 3*1047Sbill * You send it 10 bytes. 4*1047Sbill * It sends you 13 bytes. 5*1047Sbill * The transformation is expensive to perform 6*1047Sbill * (a significant part of a second). 7*1047Sbill */ 8*1047Sbill 9*1047Sbill char *crypt(); 10*1047Sbill 11*1047Sbill main() 12*1047Sbill { 13*1047Sbill char key[8]; 14*1047Sbill char salt[2]; 15*1047Sbill 16*1047Sbill read(0, key, 8); 17*1047Sbill read(0, salt, 2); 18*1047Sbill write(1, crypt(key, salt), 13); 19*1047Sbill return(0); 20*1047Sbill } 21