File Explorer

/var/runtime/node_modules/@aws-sdk/node_modules/uuid/dist/esm-node

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
16 files
sha1.js284 B · 13 lines
import crypto from 'crypto'; function sha1(bytes) {  if (Array.isArray(bytes)) {    bytes = Buffer.from(bytes);  } else if (typeof bytes === 'string') {    bytes = Buffer.from(bytes, 'utf8');  }   return crypto.createHash('sha1').update(bytes).digest();} export default sha1;