System::Security::Cryptography::RC2Managed class

RC2Managed class

Managed RC2 algorithm. Only ECB, CFB and CBC cipher modes are supported. 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 RC2Managed : public System::Security::Cryptography::RC2

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