|
před 4 měsíci | |
---|---|---|
.. | ||
dist | před 4 měsíci | |
src | před 4 měsíci | |
LICENSE | před 4 měsíci | |
README.md | před 4 měsíci | |
package.json | před 4 měsíci |
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");