/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ /* * You send it 10 bytes. * It sends you 13 bytes. * The transformation is expensive to perform * (a significant part of a second). */ static char Sccsid[] = "@(#)makekey.c 3.0 4/21/86"; char *crypt(); main() { char key[8]; char salt[2]; read(0, key, 8); read(0, salt, 2); write(1, crypt(key, salt), 13); return(0); }