>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)