|
il y a 4 mois | |
---|---|---|
.. | ||
dist | il y a 4 mois | |
src | il y a 4 mois | |
LICENSE | il y a 4 mois | |
README.md | il y a 4 mois | |
package.json | il y a 4 mois |
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");