first commit

This commit is contained in:
Patrick
2026-05-01 20:02:13 +02:00
commit 75fb753fc0
77 changed files with 4793 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// ═══════════════════════════════════════════════════════
// Base64
// ═══════════════════════════════════════════════════════
async function base64Op(op) {
const text = document.getElementById('b64Input').value;
if (!text) return setStatus('b64Status','error','Enter some text.');
const d = await apiPost('/api/base64/' + op, { text });
if (d.success) { document.getElementById('b64Output').value = d.result; setStatus('b64Status','success', op === 'encode' ? 'Encoded ✓' : 'Decoded ✓'); }
else setStatus('b64Status','error', d.error);
}