Interface MessageEncryptor
Methods
decryptData
- decryptData(payload, sharedSecet): string | Promise<string>
Returns string | Promise<string>
getSharedSecret
- getSharedSecret(privateKey, publicKey): Uint8Array | Promise<Uint8Array>
Parameters
privateKey: string
publicKey: string
Returns Uint8Array | Promise<Uint8Array>