static fun forKeys(receiver: PublicKey, sender: SecretKey): Box (source)
Precompute the shared key for a given sender and receiver.
Note that the returned instance of Box should be closed using #close() (or try-with-resources) to ensure timely release of the shared key, which is held in native memory.
receiver - The public key of the receiver.
sender - The secret key of the sender.
Return
A Box instance.