SecurityServices for .NET 2.0 Documentation

StringEncryption Constructor (SymmetricAlgorithm, HashAlgorithm)

[This is preliminary documentation and subject to change.]

Initializes a new StringEncryption instance.

public StringEncryption(
   SymmetricAlgorithm bulkCipher,
   HashAlgorithm hash
);

Parameters

SymmetricAlgorithm
The bulk cipher algorithm to use.
HashAlgorithm
The hash algorithm to use.

Exceptions

Exception Type Condition
ArgumentNullException One of the parameters is a null reference.

See Also

StringEncryption Class | Org.Mentalis.SecurityServices.Cryptography Namespace | StringEncryption Constructor Overload List