Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Zipping an encrypted EXE?
Message
 
À
21/06/1997 19:42:55
Primoz Pisk
Impulz D.O.O. Kranj
Kranj, Slovanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037331
Message ID:
00037376
Vues:
32
> > I build my EXE application with encryption. When I pack this EXE file with > > PKZIP, ARJ, LHA, RAR etc., I've got a very poor compression rate. Trying to > build an EXE without encryption, the compression rate seems to be normal. > Any suggestions about using both - encryption and normal compression ? > > Thanks, Primoz. Compression schemes work very well by doing two things: 1) recognize patterns, and substitute a few characters for frequent strings 2) recognize the most common characters/strings, and replace them with a few characters. The reason that compression works so well when an .EXE is not encrypted is that (V)FP tokenizes some things, but the .EXE also contains a ton of plain text. The plain text (which comes from the field names in the .SCX, .VCX, etc. tables, some source code, variables names, etc.) is very easy to compress. /Paul
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform