Creates an instance of the specified cryptographic object used to perform the RC4 transformation.
Namespace: LLCryptoLib.Security.CryptographyAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public static RC4 Create(
string algName
) |
Visual Basic |
---|
Public Shared Function Create ( _
algName As String _
) As RC4 |
Visual C++ |
---|
public:
static RC4^ Create(
String^ algName
) |
Parameters
- algName
- Type: System..::..String
The name of the specific implementation of RC4 to create.
Return Value
A cryptographic object.
Exceptions
Exception | Condition |
---|
System.Security.Cryptography..::..CryptographicException | An error occurs while acquiring the CSP. |
System..::..InvalidOperationException | FIPS compliance is required, but the current implementation isn't FIPS verified. |
See Also