getPublicKey

Retrieves the user's public key from the Encryptor extension.

Usage

const publicKey = await encryptor.getPublicKey();

Returns

Promise<string | undefined>

A promise that resolves to the user's public key or undefined if not found.

Previous
getState