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-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.