Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4426291
repro_crypto_create_hash_digest.mjs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
356 B
Referenced Files
None
Subscribers
None
repro_crypto_create_hash_digest.mjs
View Options
import { createHash } from "node:crypto";
console.log("createHash:", typeof createHash);
const hash = createHash("sha256");
console.log("hash:", typeof hash);
console.log("hash.update:", typeof (hash && hash.update));
console.log("hash.digest:", typeof (hash && hash.digest));
const out = hash.update("ant").digest("hex");
console.log("digest:", out);
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Sat, May 2, 2:44 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
542930
Default Alt Text
repro_crypto_create_hash_digest.mjs (356 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment