DiffieHellman.GetSharedSecretKey Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9448)
GetSharedSecretKey(Byte[])
Calculates the shared secret key from the other side's public key.
Declaration
public virtual byte[] GetSharedSecretKey(byte[] otherPublicKey)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | otherPublicKey | Other side's public key. |
Returns
| Type | Description |
|---|---|
| Byte[] | The shared secret key. |