Fix types of desEncrypt and desDecrypt