Crypto Lib
    Preparing search index...

    Function decrypt

    • Decrypts a message for the given data object.

      Parameters

      Returns Promise<{ data: string; signatureValid: boolean }>

      decrypt({
      passphrase: '123456789abcdef',
      encryptedMessage: 'base64 encoded encrypted message',
      publicKey: 'base64 encoded public key',
      });