DiffieHellman Class
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)
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 |
---|---|
Diffie |
Initializes a new instance of DiffieHellman. |
Methods
Name | Description |
---|---|
Export |
Exports the Diffie |
Get |
Returns Oakley generator value. |
Get |
Returns Oakley group 14. |
Get |
Returns Oakley group 2. |
Get |
Returns the public key. |
Get |
Calculates the shared secret key from the other side's public key. |
Import |
Imports the specified Diffie |