Approximate memory ratio for encrypted and non encrypted data

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Approximate memory ratio for encrypted and non encrypted data

Nadav Golombick
Hi,
 
Is there an average ratio to encrypted --> non-encrypted data?

--
Nadav Golombick
Reply | Threaded
Open this post in threaded view
|

Re: Approximate memory ratio for encrypted and non encrypted data

Bear Giles
Nadav Golombick wrote:
> Hi,
>  Is there an average ratio to encrypted --> non-encrypted data?
>

It should be 1:1.

HOWEVER, it's more complex when you're talking about a complete
system.  Data should usually be compressed before encryption and
there's normally framing and other added in the encrypted stream.
  One drops the ratio, the other increases it.

Further complicating this is the possibility that a really
paranoid person will include frames containing random data.
(There will be some hidden marker indicating that they should be
ignored, of course.)  It's hard to guess what's in an encrypted
file if they're always padded to a multiple of a megabyte or two.

Bear
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]