Anonymous Public-key Encryption (Sealed Box)Source:
Create an encrypted message (sealed box) from a curve25519 public key.
message to be encrypted
public key of the receiver
private key of the receiver
Simple public key encryption allows for sending anonymous encrypted messages to a recipient given its public key. Only the recipient can decrypt these messages, using its private key.