Crypto Lib
    Preparing search index...

    Function streamSize

    • Size of an encrypted stream: the header, the plaintext, and per chunk a tag byte and a Poly1305 tag.

      Parameters

      • headerLen: number
      • ptLen: number
      • chunkSize: number

      Returns number