eccDHSharedSecret
Compute EC Diffie-Hellman (ECDH) shared secret.
Syntax
[VBA]
Public Function eccDHSharedSecret ( _
szIntPrivateKey As String, _
szIntPublicKey As String, _
Optional nOptions As Long = 0 _
) As Byte()
Parameters
- szIntPrivateKey
- String containing our own private key in ephemeral "internal" form.
- szIntPublicKey
- String containing other party's public key in "internal" form.
- nOptions
- For future use.
Return Value
Byte(): The Diffie-Hellman shared secret, or an empty array on error.