Mentalis.org Security Library documentation

DataProtectionCryptoServiceProvider Constructor (Byte[])

Initializes a new DataProtectionCryptoServiceProvider instance.

[Visual Basic]
Overloads Public Sub New( _
   ByVal optionalEntropy As Byte() _
)
[C#]
public DataProtectionCryptoServiceProvider(
   byte[] optionalEntropy
);

Parameters

optionalEntropy
A buffer holding any additional entropy that can be used during encryption and decryption.

Remarks

The same entropy must be provided during the encryption and decryption process. Otherwise, the decryption will fail.

See Also

DataProtectionCryptoServiceProvider Class | DataProtectionCryptoServiceProvider Members | Org.Mentalis.Security.Cryptography Namespace | DataProtectionCryptoServiceProvider Constructor Overload List