REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 935 B
Close
/home/byroehnu/.trash/node_modules11/md5/demo/index.html
Text
Base64
<input type="file" id="input"> <output id="output"></output> <style> output::before { content: "output:"; } output { display: block; padding: 1em; margin: 1em; outline: 1px solid gray; white-space: pre-wrap; } </style> <script src="../dist/md5.min.js"></script> <script> function readAsArrayBuffer(file){ return new Promise(function(resolve) { var reader = new FileReader(); reader.readAsArrayBuffer(file) reader.onload = function(e) { resolve(e.target.result) }; }); } input.onchange = function(e) { var file = input.files[0]; readAsArrayBuffer(file) .then(buffer => { console.log(buffer); var now = performance.now(); var hash = MD5(buffer); var after = performance.now() - now; output.innerHTML = ` file: ${file.name} size: ${file.size} bytes type: ${file.type} md5: ${hash} duration: ${after.toFixed(2)} ms `; }) } </script>
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
index.html
935 B
lrw-r--r--
2026-02-21 00:53:34
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).