[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compression



Brad Brad wrote:
> It may not be considered a job of loop-aes, but it was be a nice feature 
> to allow the option of running the data through gzip before encrypting 
> it.  I looked at cloop, but you need enough swap to hold the entire 
> partition, i guess it does one big zip rather than nice little 512 blocks.
> 
> Are 512 blocks too small to compress? would the dictionary take up too 
> much room?  Perhaps a larger system wide dictionary could be maintained 
> somwhere, i dunno, thats why i'm asking :)
> 
> Brad.

usually you want to compress 128k and 64k size blocks, cloop and gcloop 
have tools that let you do that by compressing each block, the problem 
is that you have to write the index of the blocks on the TOP of the file.
Refer to the cloop-0.68. for the tools
and gcloop for a cryptoloop alike implementation

lu




-- 
Luca Barbato
Developer
Gentoo Linux				http://www.gentoo.org/~lu_zero



-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/