elide:crypto

Elide alias for the Node-compatible crypto module.

elide:crypto is an alias for node:crypto; both imports return the same module object.

import { createHash, randomUUID } from "elide:crypto";

console.log(createHash("sha256").update("abc").digest("hex"));
console.log(randomUUID());

For algorithms, input types, and Elide 1.5.0 limitations, see node:crypto.