Initializes a new StringEncryption instance.
Namespace: LLCryptoLib.Security.CryptographyAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public StringEncryption(
SymmetricAlgorithm bulkCipher,
HashAlgorithm hash
) |
| Visual Basic |
|---|
Public Sub New ( _
bulkCipher As SymmetricAlgorithm, _
hash As HashAlgorithm _
) |
| Visual C++ |
|---|
public:
StringEncryption(
SymmetricAlgorithm^ bulkCipher,
HashAlgorithm^ hash
) |
Parameters
- bulkCipher
- Type: System.Security.Cryptography..::..SymmetricAlgorithm
The bulk cipher algorithm to use.
- hash
- Type: System.Security.Cryptography..::..HashAlgorithm
The hash algorithm to use.
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentNullException | One of the parameters is a null reference. |
See Also