[Standards-JIG] NEW: JEP-0170 (Recommended Order of Stream Feature Negotiation)

Justin Karneges justin-keyword-jabber.093179 at affinix.com
Sun Jan 15 19:04:44 UTC 2006


On Sunday 15 January 2006 06:11, Richard Salz wrote:
> > I was also just thinking..  if you use SASL encryption, then you'd
>
> definitely
>
> > want to compress afterwards.
>
> The other way around.  Compress first, to remove redundant information
> that can be used in cryptanalysis, then encrypt.

I was speaking in the context of the negotiation.  You negotiate the 
encryption layer first, then after that (inside of that) you negotiate the 
compression layer.  This results in the actual desired sequence of operations 
when sending data, which is to compress, then encrypt.

-Justin



More information about the Standards mailing list