DiffieHellman Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
Implements Diffie-Hellman key agreement protocol (also called exponential key agreement).
Syntax
public abstract class DiffieHellman : AsymmetricAlgorithm, IDisposable
Inheritance
DiffieHellman
Implements
Inherited Members
Remarks
This algorithm was developed by Diffie and Hellman in 1976. It allows two users to exchange a secret key over an insecure medium without any prior secrets.
Constructors
Name | Description |
---|---|
DiffieHellman() | Initializes a new instance of DiffieHellman. |
Methods
Name | Description |
---|---|
ExportParameters(Boolean) | Exports the DiffieHellmanParameters. |
GetOakleyGenerator() | Returns Oakley generator value. |
GetOakleyGroup14() | Returns Oakley group 14. |
GetOakleyGroup2() | Returns Oakley group 2. |
GetPublicKey() | Returns the public key. |
GetSharedSecretKey(Byte[]) | Calculates the shared secret key from the other side's public key. |
ImportParameters(DiffieHellmanParameters) | Imports the specified DiffieHellmanParameters. |