Browse Source

Changed 'bytes' to 'bits'

tags/3.0.0
Teknikode 2 years ago
parent
commit
b1a4566275

+ 6
- 6
Teknik/Areas/Help/Views/Help/API/v1/Upload.cshtml View File

@@ -1,4 +1,4 @@
@model Teknik.Areas.Help.ViewModels.HelpViewModel
@model Teknik.Areas.Help.ViewModels.HelpViewModel

@using Teknik.Utilities

@@ -137,7 +137,7 @@
<var>@Model.Config.UploadConfig.KeySize</var>
</td>
<td>
The size of the key provided in bytes. Only needed if encrypting and no key is provided.
The size of the key provided in bits. Only needed if encrypting and no key is provided.
</td>
</tr>
<tr>
@@ -165,7 +165,7 @@
<var>@Model.Config.UploadConfig.BlockSize</var>
</td>
<td>
The size of the iv provided in bytes. Only needed if encrypting and no iv is provided.
The size of the iv provided in bits. Only needed if encrypting and no iv is provided.
</td>
</tr>
<tr>
@@ -273,7 +273,7 @@
<code>int</code>
</td>
<td>
The size of the key used in bytes.
The size of the key used in bits.
</td>
</tr>
<tr>
@@ -296,7 +296,7 @@
<code>int</code>
</td>
<td>
The size of the iv used in bytes.
The size of the iv used in bits.
</td>
</tr>
<tr>
@@ -321,4 +321,4 @@
<br />
<br />
</div>
</div>
</div>

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

@@ -1,4 +1,4 @@
@model Teknik.Areas.Help.ViewModels.HelpViewModel
@model Teknik.Areas.Help.ViewModels.HelpViewModel

@using Teknik.Utilities

@@ -18,7 +18,7 @@
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 Bytes</b> and an iv (Block Size) that is <b>@Model.Config.UploadConfig.BlockSize Bytes</b>.
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 Bits</b> and an iv (Block Size) that is <b>@Model.Config.UploadConfig.BlockSize Bits</b>.
Then the file buffer, key, and iv are passed into a Web Worker for encryption.
</p>
<p>

Loading…
Cancel
Save