Solved The file size remains the same after compression

FahadTiger

Member
Local time
Today, 16:17
Joined
Jun 20, 2021
Messages
120
Hi Expert..
when i make encrypt password to my database..the size remain the same when i compressed with WinRar
is there any advise
thank you
 
So no repeating characters in the file due to the file being encrypted?, which I would have thought was normal?
 
So no repeating characters in the file due to the file being encrypted?, which I would have thought was normal?
thanks Gasman for replying
what you mean about (repeating characters in the file)
 
did you change the Compression Method to Best.
 
thanks Gasman for replying
what you mean about (repeating characters in the file)
My understanding of compression is repeated characters are calculated and removed, replaced with data about how many.?
If you encrypt a file, the chances are there are none, or very little repeated characters so as to hide the data?
 
As Gasman said, compression relies on identifying repeated characters and replacing them so that the overall size of the file is reduced.

Encryption blocks that algorithm (and we should be happy that it does so) because you do NOT want external tools, such as your compression software, from being able to identify internal characters, i.e. the actual contents, of the encrypted file. Without the ability to identify repeated characters and patterns, there is not much to compress.
 
As Gasman said, compression relies on identifying repeated characters and replacing them so that the overall size of the file is reduced.

Encryption blocks that algorithm (and we should be happy that it does so) because you do NOT want external tools, such as your compression software, from being able to identify internal characters, i.e. the actual contents, of the encrypted file. Without the ability to identify repeated characters and patterns, there is not much to compress.
I think I understand now...thank you So much
 

Users who are viewing this thread

Back
Top Bottom