CreateEncryptor()

SymmetricAlgorithm::CreateEncryptor() method

Creates encryptor with parameters associated with algorithm object.

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

Return Value

Newly created encryptor object.

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

Creates encryptor with explicit parameters.

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

Arguments

ParameterTypeDescription
rgbKeySystem::ArrayPtr<uint8_t>Key to use.
rgbIVSystem::ArrayPtr<uint8_t>Initial value to use.

Return Value

Newly created encryptor object.

See Also