Hi! i have to use different symmetric ciphers for decryption and encryption (with the same key).
Up to now i use something like this: ECB_Mode<Twofish>::Decryption dec(key, keylen); ECB_Mode<Twofish>::Encryption enc(key, keylen); Of course that works, but it's slow. For symmetric ciphers where the key setup is the same for encryption and decryption, this yields to a 2x overhead. How can i avoid this overhead? I would love to use something like that: Cipher c = new Cipher(Twofish); c.SetKey(key, keylen); // sets up expanded key for decryption and encryption c.decrypt(...); c.encrypt(...); Is this possible anyhow? Thanks in advance! -- -- 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. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
