#include static char key[20]; static char salt[10]; char *gets (); char *crypt (); main () { for (;;) { printf ("\n Give me the key ->"); gets (key); printf ("\n Give me the salt ->"); gets (salt); salt[2] = 0; printf ("\n\n The encrypted text is: `%s'\n", crypt (key, salt)); } }