static fun forKeys(secretKey: SecretKey!, publicKey: PublicKey!): Secret!
(source)
Compute a shared Secret
from a secret key and a public key.
secretKey
- SecretKey!: the user's secret key
publicKey
- PublicKey!: another user's public key
Return
Secret!: A shared Secret
.