CreateEncryptor()

RC2Managed::CreateEncryptor(System::ArrayPtr<uint8_t>, System::ArrayPtr<uint8_t>) method

Creates encryptor object with explicit parameters.

SharedPtr<ICryptoTransform> System::Security::Cryptography::RC2Managed::CreateEncryptor(System::ArrayPtr<uint8_t> rgbKey, System::ArrayPtr<uint8_t> rgbIV) override

Arguments

ParameterTypeDescription
rgbKeySystem::ArrayPtr<uint8_t>Encryption key in byte array form.
rgbIVSystem::ArrayPtr<uint8_t>Initial value in byte array form.

Return Value

Newly created encryptor object.

RC2Managed::CreateEncryptor() method

Creates encryptor object with parameters defined by algorithm object.

virtual SharedPtr<ICryptoTransform> System::Security::Cryptography::SymmetricAlgorithm::CreateEncryptor()

RC2Managed::CreateEncryptor(System::ArrayPtr<uint8_t>, System::ArrayPtr<uint8_t>) method

Creates encryptor object with parameters defined by algorithm object.

virtual SharedPtr<ICryptoTransform> System::Security::Cryptography::SymmetricAlgorithm::CreateEncryptor(System::ArrayPtr<uint8_t> rgbKey, System::ArrayPtr<uint8_t> rgbIV)=0

See Also