CryptoSys PKI Pro Manual

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.
[PREV: comprUncompress...]   [Contents]   [Index]   
   [NEXT: eccKeyHashCode...]

Copyright © 2004-25 D.I. Management Services Pty Ltd. All rights reserved. Generated 2025-12-17T09:23:43Z.