- Adds
createHashSync and createHashHexSync functions (identical use to async functions createHash and createHashHex respectively). These functions automatically swap between node:crypto, the web standard WebCrypto API, and an inline script option in all other environments.
- Adds Node v24 to CI test suite
import { createHashSync, createHashHexSync } from "@11ty/eleventy-utils";
const base64UrlHash = createHashSync("This", "is", "an", "arbitrary", "string.");
const hexHash = createHashHexSync("This", "is", "an", "arbitrary", "string.");