Generates Diffie-Hellman parameters corresponding to the specified key size.
Namespace:
Rebex.Security.Cryptography
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
Visual Basic |
---|
Public Shared Function GenerateDiffieHellmanParameters ( _ keySize As Integer _ ) As DiffieHellmanParameters |
C# |
---|
public static DiffieHellmanParameters GenerateDiffieHellmanParameters( int keySize ) |
Parameters
- keySize
- Type: System..::..Int32
Key size.