Spaces:
Running
Running
remove size
Browse files- index.html +0 -2
- wasm-demo.js +0 -1
index.html
CHANGED
@@ -418,8 +418,6 @@
|
|
418 |
<section class="card" aria-labelledby="step4">
|
419 |
<h2 id="step4">4. Result</h2>
|
420 |
<div class="card-content">
|
421 |
-
<label for="encResult" class="visually-hidden">Encrypted result</label>
|
422 |
-
<textarea id="encResult" rows="1" readonly placeholder="Encrypted result will appear here"></textarea>
|
423 |
<p id="decResult" aria-live="polite" style="flex: 1;"></p>
|
424 |
<div class="controls" style="margin-top: auto;">
|
425 |
<button id="btnDecrypt" class="btn" disabled>π Decrypt</button>
|
|
|
418 |
<section class="card" aria-labelledby="step4">
|
419 |
<h2 id="step4">4. Result</h2>
|
420 |
<div class="card-content">
|
|
|
|
|
421 |
<p id="decResult" aria-live="polite" style="flex: 1;"></p>
|
422 |
<div class="controls" style="margin-top: auto;">
|
423 |
<button id="btnDecrypt" class="btn" disabled>π Decrypt</button>
|
wasm-demo.js
CHANGED
@@ -319,7 +319,6 @@ async function getTaskResult(currentTaskId, currentUid, taskName) {
|
|
319 |
encServerResult = new Uint8Array(resultArrayBuffer);
|
320 |
|
321 |
console.log(`[Main] Received encrypted result: ${encServerResult.length} bytes`);
|
322 |
-
$('encResult').value = `Encrypted result`;
|
323 |
const duration = ((performance.now() - window.taskStartTime) / 1000).toFixed(1);
|
324 |
$('srvStatus').textContent = `β Complete! (${duration}s)`;
|
325 |
enable('btnDecrypt');
|
|
|
319 |
encServerResult = new Uint8Array(resultArrayBuffer);
|
320 |
|
321 |
console.log(`[Main] Received encrypted result: ${encServerResult.length} bytes`);
|
|
|
322 |
const duration = ((performance.now() - window.taskStartTime) / 1000).toFixed(1);
|
323 |
$('srvStatus').textContent = `β Complete! (${duration}s)`;
|
324 |
enable('btnDecrypt');
|