System::Security::Cryptography::RijndaelManaged class

RijndaelManaged class

Managed Rijndael algorithm. Only supports ECB and CFB modes with None padding and CBC mode with None and Zeros 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 RijndaelManaged : public System::Security::Cryptography::Rijndael

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