Wei Dai a écrit :
CFB, OFB, and CTR modes need the "encrypt" direction of the underlying block cipher, even to decrypt. I'll add some checks in the code to warn about this.
Wouldn't it be more logical, intuitive and orthogonal to allow using decrypt in this case ? Makeing decrypt an alias of encrypt would just do the trick, no ?
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cryptopp-users?hl=en -~----------~----~----~----~------~----~------~--~---
