itcast 6e512b8ce6 aaaa 10 mesi fa
..
dist 6e512b8ce6 aaaa 10 mesi fa
src 6e512b8ce6 aaaa 10 mesi fa
LICENSE 6e512b8ce6 aaaa 10 mesi fa
README.md 6e512b8ce6 aaaa 10 mesi fa
package.json 6e512b8ce6 aaaa 10 mesi fa

README.md

createHash

Equivalent to Node.js's crypto.createHash. Uses the Node.js builtin if present, otherwise it falls back the the sha.js package's implementation.

Usage

import { createHash } from "@apollo/utils.createhash";

createHash("sha256").update("foo").digest("hex");