Crypto Edge
    Preparing search index...

    Function decryptEdgeRequest

    • Decrypt the full payload of an incoming post-quantum encrypted Edge Request.

      Reads the request body as an ArrayBuffer, decrypts the post-quantum STREAM AEAD ciphertext, zeroes the intermediate ciphertext buffer in memory, and returns the plaintext.

      Parameters

      • request: Request

        Incoming Edge Request containing encrypted payload.

      • recipient: EdgePqRecipientSecretKeys

        Recipient secret keys.

      Returns Promise<Uint8Array<ArrayBufferLike>>

      Decrypted plaintext bytes.