CryptoSys PKI Pro Manual

Ecc.DHSharedSecret Method

Compute EC Diffie-Hellman (ECDH) shared secret.

Syntax

[C#]
public static byte[] DHSharedSecret(
	string ourIntPrivateKey,
	string theirIntPublicKey
)
[VB.NET]
Public Shared Function DHSharedSecret ( _
	ourIntPrivateKey As String, _
	theirIntPublicKey As String _
) As Byte()

Parameters

ourIntPrivateKey
Our own private key in ephemeral "internal" form.
theirIntPublicKey
Other party's public key in "internal" form.

Return Value

The Diffie-Hellman shared secret.

See Also

VB6/C equivalent: ECC_DHSharedSecret

[Contents] [Index]

[PREV: Compr.Uncompress Method...]   [Contents]   [Index]   
   [NEXT: Ecc.KeyHashCode Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.