Encryption

  • Thread starter Thread starter HateBSOD
  • Start date Start date
H

HateBSOD

How does one encrypt a binary file, I have it working with just text
any samples or website recomendations would be helpful. Also When you
encrypt a file with DES and then want to zip it, the file does not get
compressed, but with pgp the file gets compressed. Does AES also
compress?

Thanks,
Dj
 
encryption and compression are not done well in that order. The reason has
to do with the mathematics of encryption and the mathematics of compression.
I would suggest that you would want to compress first, and then encrypt. My
guess is that PGP is doing something along those lines.

AES and DES are encryption algorithms. Neither Compress. PGP is an
application that USES an encryption algorithm, but it may also use a
compression algorithm as well.

--- Nick
 
Back
Top