Skip to content

Commit 720adf4

Browse files
committed
Updated documentation pages about the SHA-512 encryption algorithm usage.
1 parent 12cf94d commit 720adf4

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

documentations/package-lock.json

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentations/src/views/Authentication.vue

+10-10
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
<ul>
5252
<li><i>username</i> &mdash; The desired username for the new account.</li>
5353
<li><i>email</i> &mdash; The email address associated with the new account.</li>
54-
<li><i>password</i> &mdash; The MD5 hashed string of the user's chosen password.</li>
54+
<li><i>password</i> &mdash; The SHA-512 hashed string of the user's chosen password.</li>
5555
<li><i>enabled</i> &mdash; A binary flag (0 or 1) indicating whether the account should be enabled (1) or disabled (0).</li>
5656
</ul>
5757

5858
<pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span>
5959
<span class="text-warning">"username"</span>: <span class="text-danger">"&lt;username&gt;"</span>,
6060
<span class="text-warning">"email"</span>: <span class="text-danger">"&lt;email&gt;"</span>,
61-
<span class="text-warning">"password"</span>: <span class="text-danger">"&lt;MD5 hashed string&gt;"</span>,
61+
<span class="text-warning">"password"</span>: <span class="text-danger">"&lt;SHA-512 hashed string&gt;"</span>,
6262
<span class="text-warning">"enabled"</span>: <span class="text-danger">"0|1"</span>
6363
<span class="text-primary">}</span></pre>
6464

@@ -70,14 +70,14 @@
7070
<ul>
7171
<li><i>username</i> &mdash; The username of the account to be updated.</li>
7272
<li><i>email</i> &mdash; The updated/new email address of the user to be updated.</li>
73-
<li><i>password</i> &mdash; The updated/new password hashed in MD5 encryption of the user to be updated.</li>
73+
<li><i>password</i> &mdash; The updated/new password hashed in SHA-512 encryption of the user to be updated.</li>
7474
<li><i>enabled</i> &mdash; A binary flag (0 or 1) indicating whether the account should be enabled (1) or disabled (0).</li>
7575
</ul>
7676

7777
<pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span>
7878
<span class="text-warning">"username"</span>: <span class="text-danger">"&lt;username&gt;"</span>,
7979
<span class="text-warning">"email"</span>: <span class="text-danger">"&lt;email&gt;"</span>,
80-
<span class="text-warning">"password"</span>: <span class="text-danger">"&lt;MD5 hashed string&gt;"</span>,
80+
<span class="text-warning">"password"</span>: <span class="text-danger">"&lt;SHA-512 hashed string&gt;"</span>,
8181
<span class="text-warning">"enabled"</span>: <span class="text-danger">"0|1"</span>
8282
<span class="text-primary">}</span></pre>
8383

@@ -89,14 +89,14 @@
8989
<ul>
9090
<li><i>username</i> &mdash; The updated/new username of the account to be updated.</li>
9191
<li><i>email</i> &mdash; The email address of the user to be updated.</li>
92-
<li><i>password</i> &mdash; The updated/new password hashed in MD5 encryption of the user to be updated.</li>
92+
<li><i>password</i> &mdash; The updated/new password hashed in SHA-512 encryption of the user to be updated.</li>
9393
<li><i>enabled</i> &mdash; A binary flag (0 or 1) indicating whether the account should be enabled (1) or disabled (0).</li>
9494
</ul>
9595

9696
<pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span>
9797
<span class="text-warning">"username"</span>: <span class="text-danger">"&lt;username&gt;"</span>,
9898
<span class="text-warning">"email"</span>: <span class="text-danger">"&lt;email&gt;"</span>,
99-
<span class="text-warning">"password"</span>: <span class="text-danger">"&lt;MD5 hashed string&gt;"</span>,
99+
<span class="text-warning">"password"</span>: <span class="text-danger">"&lt;SHA-512 hashed string&gt;"</span>,
100100
<span class="text-warning">"enabled"</span>: <span class="text-danger">"0|1"</span>
101101
<span class="text-primary">}</span></pre>
102102

@@ -234,13 +234,13 @@
234234
<span class="text-primary">}</span></pre>
235235

236236
<b class="mt-4 mb-2 d-block border-bottom fw-bold">Auth: Login Username</b>
237-
<p>Log-in a specified QLBase application user account using username and an MD5-hashed password string.</p>
237+
<p>Log-in a specified QLBase application user account using username and an SHA-512-hashed password string.</p>
238238
<pre class="bg-secondary border-gray border rounded p-2">api/index.php?action=auth_login_username</pre>
239239

240240
<b>Payload Structure</b>
241241
<ul>
242242
<li><i>username</i> &mdash; The username of the account to be logged in.</li>
243-
<li><i>password</i> &mdash; The MD5 hashed password string of the account to be logged in.</li>
243+
<li><i>password</i> &mdash; The SHA-512 hashed password string of the account to be logged in.</li>
244244
</ul>
245245

246246
<pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span>
@@ -259,13 +259,13 @@
259259
<span class="text-primary">}</span></pre>
260260

261261
<b class="mt-4 mb-2 d-block border-bottom fw-bold">Auth: Login Email</b>
262-
<p>Log-in a specified QLBase application user account using email and an MD5-hashed password string.</p>
262+
<p>Log-in a specified QLBase application user account using email and an SHA-512-hashed password string.</p>
263263
<pre class="bg-secondary border-gray border rounded p-2">api/index.php?action=auth_login_email</pre>
264264

265265
<b>Payload Structure</b>
266266
<ul>
267267
<li><i>email</i> &mdash; The email of the account to be logged in.</li>
268-
<li><i>password</i> &mdash; The MD5 hashed password string of the account to be logged in.</li>
268+
<li><i>password</i> &mdash; The SHA-512 hashed password string of the account to be logged in.</li>
269269
</ul>
270270

271271
<pre class="bg-secondary border-gray border rounded p-2"><span class="text-primary">{</span>

documentations/src/views/FileStorage.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
</tr>
107107
<tr>
108108
<td>2</td>
109-
<td>Checksum of the fetched file in MD5 hash</td>
109+
<td>Checksum of the fetched file in SHA-512 hash</td>
110110
</tr>
111111
</table>
112112
</li>
@@ -162,7 +162,7 @@
162162
</tr>
163163
<tr>
164164
<td>3</td>
165-
<td>Checksum of the fetched file in MD5 hash</td>
165+
<td>Checksum of the fetched file in SHA-512 hash</td>
166166
</tr>
167167
</table>
168168
</li>

0 commit comments

Comments
 (0)