|
hace 4 meses | |
---|---|---|
.. | ||
dist | hace 4 meses | |
src | hace 4 meses | |
LICENSE | hace 4 meses | |
README.md | hace 4 meses | |
package.json | hace 4 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");