REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 531 B
Close
/opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/node_modules/uuid/lib/sha1.js
Text
Base64
'use strict'; var crypto = require('crypto'); function sha1(bytes) { // support modern Buffer API if (typeof Buffer.from === 'function') { if (Array.isArray(bytes)) bytes = Buffer.from(bytes); else if (typeof bytes === 'string') bytes = Buffer.from(bytes, 'utf8'); } // support pre-v4 Buffer API else { if (Array.isArray(bytes)) bytes = new Buffer(bytes); else if (typeof bytes === 'string') bytes = new Buffer(bytes, 'utf8'); } return crypto.createHash('sha1').update(bytes).digest(); } module.exports = sha1;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
bytesToUuid.js
699 B
lrw-r--r--
2021-09-28 11:28:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rng-browser.js
969 B
lrw-r--r--
2021-09-28 11:28:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rng.js
239 B
lrw-r--r--
2021-09-28 11:28:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
sha1-browser.js
2.25 KB
lrw-r--r--
2021-09-28 11:28:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
sha1.js
531 B
lrw-r--r--
2021-09-28 11:28:18
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).