first version of cac.c - crypt and compare