Skip to content

libsodium.PKI.SharedSecret

Andrew Lambert edited this page Nov 26, 2022 · 12 revisions

libsodium.PKI.SharedSecret

Class Declaration

 Protected Class SharedSecret

Remarks

This class contains a curve25519 shared key derived from one user's public key and the other user's private key using X25519, a state-of-the-art Elliptic Curve Diffie-Hellman (ECDH) function.

To derive a shared key pass the public key of one user and the private key of the other user to the Constructor method.

Methods

Shared methods

See also

Clone this wiki locally