Optional
aesKey: string | Uint8Array<ArrayBufferLike> | CryptoKeyAn optional AES key to encrypt to the given public key
The encrypted content and encrypted key
Encrypt a message, return everything as strings.
Optional
aesKey: string | Uint8Array<ArrayBufferLike> | CryptoKey
Encrypt the given message to the given public key. If an AES key is not provided, one will be created. This uses an AES key to encrypt the given content, then we encrypt the AES key to the given public key.