Documentation
    Preparing search index...
    • Internal

      Prepare the payload pre-encryption.

      Parameters

      • messagePayload: Uint8Array
      • OptionalsigPrivKey: Uint8Array<ArrayBufferLike>

      Returns Promise<Uint8Array<ArrayBufferLike>>

      The encoded payload, ready for encryption using encryptAsymmetric or encryptSymmetric.