-
-
Notifications
You must be signed in to change notification settings - Fork 3
libsodium.PKI.SharedSecret.Constructor
Andrew Lambert edited this page Jan 21, 2023
·
8 revisions
libsodium.PKI.SharedSecret.Constructor
Sub Constructor(RecipientPublicKey As libsodium.PKI.PublicKey, SenderPrivateKey As libsodium.PKI.EncryptionKey)
Name | Type | Comment |
---|---|---|
RecipientPublicKey | PublicKey | The public half of the recipient's key pair. |
SenderPrivateKey | EncryptionKey | The sender's key pair. |
Derives a shared key from the public half of the recipient's key and the private half of the sender's key using an Elliptic Curve Diffie-Hellman (ECDH) key exchange over the Curve25519 curve.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2016-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.