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