System::Security::Cryptography::TripleDESManaged::CreateEncryptor method

TripleDESManaged::CreateEncryptor() method

使用算法对象定义的参数创建加密器对象。

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

另见

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

使用显式参数创建加密器对象。

SharedPtr<ICryptoTransform> System::Security::Cryptography::TripleDESManaged::CreateEncryptor(System::ArrayPtr<uint8_t> rgbKey, System::ArrayPtr<uint8_t> rgbIV) override
参数类型描述
rgbKeySystem::ArrayPtr<uint8_t>以字节数组形式的加密密钥。
rgbIVSystem::ArrayPtr<uint8_t>以字节数组形式的初始值。

ReturnValue

新创建的加密器对象。

另见