Browse Source

More formatting changes

tags/2.0.3
Teknikode 4 years ago
parent
commit
7d2844b4ed
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Teknik/Areas/Help/Views/Help/Upload.cshtml

+ 2
- 2
Teknik/Areas/Help/Views/Help/Upload.cshtml View File

@@ -12,11 +12,11 @@
When you using the web interface for uploads, the file is loaded using the javascript <a href="https://developer.mozilla.org/en-US/docs/Web/API/FileReader">FileReader</a> API.
</p>
<p>
Once the file is completely loaded into the buffer, a key and iv are generated by a random string generator to create a key that is <b>@Model.Config.UploadConfig.KeySize</b> Bytes and an iv (Block Size) that is <b>@Model.Config.UploadConfig.BlockSize</b> Bytes.
Once the file is completely loaded into the buffer, a key and iv are generated by a random string generator to create a key that is <b>@Model.Config.UploadConfig.KeySize Bytes</b> and an iv (Block Size) that is <b>@Model.Config.UploadConfig.BlockSize Bytes</b>.
Then the file buffer, key, and iv are passed into a Web Worker for encryption.
</p>
<p>
The file data is passed through a progressive ciphering with a chunk size of <b>@Model.Config.UploadConfig.ChunkSize</b> bytes. This is to help reduce the memory usage needed by the encryption process as it only needs to process and convert each chunk instead of the entire file.
The file data is passed through a progressive ciphering with a chunk size of <b>@Model.Config.UploadConfig.ChunkSize Bytes</b>. This is to help reduce the memory usage needed by the encryption process as it only needs to process and convert each chunk instead of the entire file.
</p>
<p>
Once all the file's data has been processed, the final buffer is then passed back to the main encryption routine and is sent to the server as a ArrayBuffer, along with the content-type, generated iv, key size, and block size.

Loading…
Cancel
Save