|
Compression as the best way to encrypt data WARNING: THIS DOCUMENT IS NOT INTENDED TO SHOW HOW TO BREAK, TO CRACK, TO HACK ANY ENCRYPTION PROGRAM, I, THE AUTHOR WILL NOT LIABLE FOR ANY DAMAGE CAUSED BY THIS DOCUMENT, IF ANY COMPANY OR PERSON OR A GROUP OF PERSON WANT ME TO REMOVE THIS DOCUMENT FROM THIS SITE BECAUSE IT IS AGAINST THE COMPANY REGULATION OR THIS DOCUMENT INFRINGED ANY ENCRYPTION COPYRIGHT THEN I WILL REMOVE THIS DOCUMENT AT ONCE IF I HAVE A GOOD VALID REASON TO. THIS DOCUMENT ONLY SHOWS HOW TO ENHANCES ENCRYPTION WITH COMPRESSION, NOTHING MORE. Before I explain how and why compression is the best way to secure /
encrypt data, I would like to say few words regarding this subject. I
have came across people who think compression is different with encryption,
therefore compression could not be any useful to secure data.
Well, the above statements is correct, there is no doubt about it. Again, before I explained how to do it, I will explain the current existing
encryption algorithm.
I said it is easy to crack a string limited password and I believe somebody will ask me how ? especially the author of the encryption program. So I will answer it in a most stupidest way. To crack an encrypted file which is limited to string password all we have to do is to use the encryption program and trying one at a time all the valid string then see the result. Even if the longest the string used, still it can be done. Below is the way to crack a string limited password:
The above way is the most stupidest way to crack a string limited password. I think it is enough with this explanation of how and what the weaknesses of this encryption methodology. Below I will start to show on how compression can enhances the encryption process. There are some similarity of compression and encryption, this similarity is the reason why compression is useful as well to help to secure data.
The key code of the compressed data is quite long, it has to be stored as a separate file, below is the description of the advantage and its disadvantage. Advantage: Disadvantage: There is no reason NOT to apply another encryption algorithm to the resulted files, but then we have no idea of how many times is enough, it all depend on our weaknesses of keeping the key securely. The other minor (not very important) advantage of using compression engine in the encryption is the result of smaller file, but in this case it might not be as small as in the conventional compression. Some encryption program already put compression in it but I have not found one that implemented in this way. The key code file can be as small as we want to, but the resulted file will not be much smaller because it means we only use a few operation. But a 4 kilobytes (one cluster size of FAT32) of key code file is quite enough to make the file small and secured. If you have other question about this article or want to know which compression method which be use, then please contact me, I will be more than happy to explain, as I always do. |
|
|
Author
Site Map Disclaimer
HMaxF Ultimate Recursive Lossless Compression Research 2001 - 2003 (c) All Rights Reserved. |
|