This repository was archived by the owner on Jan 12, 2026. It is now read-only.
forked from HACKER007-SHIP-IT/javascript0.2
-
-
Notifications
You must be signed in to change notification settings - Fork 0
// crypto.mjs import { createHash } from 'node:crypto'; import { readFile } from 'node:fs/promises'; const hasher = createHash('sha1'); hasher.setEncoding('hex'); // ensure you have a `package.json` file for this test! hasher.write(await readFile('package.json')); hasher.end(); const fileHash = hasher.read(); // run with `node crypto.mjs`
cyberwarfare-com/javascript0.2
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
// crypto.mjs import { createHash } from 'node:crypto'; import { readFile } from 'node:fs/promises'; const hasher = createHash('sha1'); hasher.setEncoding('hex'); // ensure you have a `package.json` file for this test! hasher.write(await readFile('package.json')); hasher.end(); const fileHash = hasher.read(); // run with `node crypto.mjs`
Resources
Code of conduct
Contributing
Stars
Watchers
Forks
Releases
No releases published
Sponsor this project
Packages 0
No packages published
Languages
- JavaScript 95.0%
- HTML 3.4%
- CSS 1.6%