KeyAgreement.calculateSecret
ubyte[] calculateSecret(PublicKey publicKey)Calculates the shared secret using the peer's public key.
Parameters
publicKey | The peer's public key. |
Returns
The generated shared secret.
ubyte[] calculateSecret(PublicKey publicKey)Calculates the shared secret using the peer's public key.
publicKey | The peer's public key. |