# getPublicKey

Retrieves the public key from the Encryptor Extension.

### Usage

```ts
const publicKey = await encryptorExtension.getPublicKey();
```

### Returns

`Promise<string | undefined>`

A promise that resolves to the public key retrieved from the Encryptor Extension or undefined if the public key is not available.
