itcast 6e512b8ce6 aaaa il y a 1 an
..
dist 6e512b8ce6 aaaa il y a 1 an
src 6e512b8ce6 aaaa il y a 1 an
LICENSE 6e512b8ce6 aaaa il y a 1 an
README.md 6e512b8ce6 aaaa il y a 1 an
package.json 6e512b8ce6 aaaa il y a 1 an

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");