mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Changed 'bytes' to 'bits'
This commit is contained in:
parent
ec8d7f0de6
commit
b1a4566275
@ -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>
|
||||
|
@ -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…
Reference in New Issue
Block a user