System::Security::Cryptography::TripleDESManaged class

TripleDESManaged class

Managed TripleDES implementation. Only supports ECB and CFB modes with None padding and CBC mode with None, Zeros and PKCS7 paddings. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class TripleDESManaged : public System::Security::Cryptography::TripleDES

Methods

MethodDescription
CreateDecryptor(System::ArrayPtr<uint8_t>, System::ArrayPtr<uint8_t>) overrideCreates decryptor object with explicit parameters.
virtual CreateDecryptor()Creates decryptor object with parameters defined by algorithm object.
CreateEncryptor(System::ArrayPtr<uint8_t>, System::ArrayPtr<uint8_t>) overrideCreates encryptor object with explicit parameters.
virtual CreateEncryptor()Creates encryptor object with parameters defined by algorithm object.
GenerateIV() overrideCreates random initial value and stores it in algorithm’s internals.
GenerateKey() overrideCreates random key and stores it in algorithm’s internals.

See Also