@bicycle-codes/crypto-stream
    Preparing search index...

    Function plaintextSize

    • Given an encrypted size, return the corresponding plaintext size.

      encryptedSize: int containing encrypted size rs: int containing record size, optional

      Parameters

      • encryptedSize: number
      • rs: number = RECORD_SIZE

      Returns number