Thanks Jeff - My Crypto Guru :)

Seeking yet more clarifications: To the best of your knowledge - will
my encryption be less effective if I authenticate and only then
encrypt?
IOW: I have encryption and I have authentication - does the order of
processing have an effect on the strength of the whole encryption?

The reason I'm asking is because for some reason, I have problems
chaining an authentication filter to an encryption filter..
The code "Encrypion( Authentication( sink ) )" throws an exception
when decrypting, while "Authentication( Encrypion( sink ) )" works
fine..

(*) BTW, "Source( plaintext, ..., Encrypion( tmpEnc ) )" followed by
"Source( tmpEnc, ..., Authentication( ( sink ) )" DOES work.
Is there a known reason why encryption/authentication in portions
doesn't work while authenticating a fully encrypted stream does? (or
is it just me again?)

TIA!

    Avi.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to