replaced des_enc.c and set_key.c with shorter implementation