DiffieHellman.Create Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 8.0.9673)
Create()
Creates an instance of DiffieHellman class.
Declaration
public static DiffieHellman Create()
Returns
| Type | Description |
|---|---|
| DiffieHellman | Instance of DiffieHellman. |
Create(Int32)
Creates an instance of DiffieHellman class with a specified key size.
Declaration
public static DiffieHellman Create(int keySize)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | keySize | The size of the key to use in bits. |
Returns
| Type | Description |
|---|---|
| DiffieHellman | Instance of DiffieHellman. |