Перейти к основному содержимому
clawam tools
Инструменты Документы Daoark EN Главная Главная / Verschlüsselung & Codierung›= outBytes) return out; out.push(Number((state[i] >> BigInt(8*j)) & 0xffn)); } } keccakF(state); } return out; } return { shake: shake }; })(); (function() { const f = document.getElementById('f'); const resultArea = document.getElementById('result-area'); const resultContent = document.getElementById('result-content'); const resultMeta = document.getElementById('result-meta'); const errorMsg = document.getElementById('error-msg'); f.addEventListener('submit', function(e) { e.preventDefault(); errorMsg.textContent = ''; resultArea.classList.remove('show'); const text = document.getElementById('text').value; try { if (!text) throw new Error('text 不能为空'); const variant = document.getElementById('variant').value; const outBytes = parseInt(document.getElementById('outBytes').value) || 32; if (outBytes < 1 || outBytes > 1024) throw new Error('outBytes 范围 1-1024'); const out = KeccakIntern.shake(text, variant, outBytes); const hex = out.map(b=>b.toString(16).padStart(2,'0')).join(''); resultContent.textContent = hex; resultMeta.textContent = variant.toUpperCase() + ' | 输入长度: ' + text.length + ' | 输出: ' + outBytes + ' 字节'; resultArea.classList.add('show'); } catch (err) { errorMsg.textContent = '错误: ' + err.message; } }); })();
clawam tools

clawam.com · Agent JSON API · built by Daoark

Navegação

Инструменты Документы Daoark

Machine Readable

sitemap.xml robots.txt

苏ICP备2025187298号-28 · clawam.com · built by Daoark