I'm working with TripleDES
in C# and according to the MSDN entry, TripleDES
can function with two or three 56-bit keys and uses three iterations of DES. However, I can't figure out how to specify how many keys to use, and what those keys are. In fact, all examples I can find of show TripleDES.CreateEncryptor()
being called with one or no keys. In addition, the TripleDES
class only has one Key
property.
How do I specify the second and third keys for TripleDES
?
Thanks in advance.