« Return to Thread: Does CRYPT_ENVINFO_COMPRESSION also encrypt?

Re: Does CRYPT_ENVINFO_COMPRESSION also encrypt?

by Peter Gutmann :: Rate this Message:

Reply to Author | View in Thread

Timo Kunze <TKunze71216@...> writes:

>to compress and encrypt data, I used to envelopes so far. The first one
>compresses and the second one encrypts. But on page 55 of the manual, it
>sounds a bit like I'm actually encrypting the data twice. Can a single
>envelope be used to compress AND encrypt in a single step?

No, each layer of CMS processing needs its own envelope.

>Oh, and which compression algorithm does cryptlib use?

zlib, see RFC 3274.

Peter.

_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: Does CRYPT_ENVINFO_COMPRESSION also encrypt?