Computes a shared secret key with the provided public key.
const userPublicKey = '0x...'; const sharedSecretKey = await encryptor.computeSharedSecretKey(userPublicKey);
Promise<string | undefined>
A promise that resolves to the computed shared secret key or undefined if the computation failed.
The public key with which the shared secret key is computed.