Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encrypty an array
Message
De
11/10/2002 20:58:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00710560
Message ID:
00710587
Vues:
14
>How am I able to encrypty an array of around 2000 binary elements and that it generates me a key of maximum 20 characters?

That ratio of data compression is usually not possible. You can create a CRC (cyclical reduncacy check) or checksum, but the compression is not unique, that is, you will not be able to uncompress the data.

See function sys(2007). Remember, the result will not be unique, but if you use this on two different arrays:

1) If the checksum for both arrays is alike, there is a high probability that the arrays are alike.
2) If the checksum is different, the arrays are different.

Saludos, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform