Encrypts data from a sender to a receiver using their public keys
Data to encrypt
Sender's key pair
Receiver's public encryption key
Promise resolving to encrypted data
Encrypts data from a sender to a receiver using their public keys