RijndaelCreateEncryptor Method |
Returns cryptographic stream which can be used to encrypt any byte data.
Namespace:
TreeksLicensingLibrary2
Assembly:
TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax public CryptoStream CreateEncryptor(
string Passphrase,
ref Stream OutputStream
)
Public Function CreateEncryptor (
Passphrase As String,
ByRef OutputStream As Stream
) As CryptoStream
public:
CryptoStream^ CreateEncryptor(
String^ Passphrase,
Stream^% OutputStream
)
member CreateEncryptor :
Passphrase : string *
OutputStream : Stream byref -> CryptoStream
Parameters
- Passphrase
- Type: SystemString
Encryption password - OutputStream
- Type: System.IOStream
Output stream used to store encrypted data
Return Value
Type:
CryptoStreamCryptographic stream which can be used to encrypt any byte data
Remarks OutputStream can be i.e. FileStream or MemoryStream. Use this function to encrypt data in chunks.
See Also