SymmetricAlgorithm.CreateEncryptor Method (Byte(), Byte())
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, creates a symmetric encryptor object with the specified Key property and initialization vector (IV).
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public MustOverride Function CreateEncryptor ( _ rgbKey As Byte(), _ rgbIV As Byte() _ ) As ICryptoTransform
Parameters
- rgbKey
- Type:
System.Byte
()
The secret key to use for the symmetric algorithm.
- rgbIV
- Type:
System.Byte
()
The initialization vector to use for the symmetric algorithm.
Use the CreateDecryptor overload with the same parameters to decrypt the result of this method.
Show: