|
hai 10 meses | |
---|---|---|
.. | ||
dist | hai 10 meses | |
src | hai 10 meses | |
LICENSE | hai 10 meses | |
README.md | hai 10 meses | |
package.json | hai 10 meses |
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.
import { createHash } from "@apollo/utils.createhash";
createHash("sha256").update("foo").digest("hex");