merged aesCrypt and aesDecrypt