|
преди 5 месеца | |
---|---|---|
.. | ||
dist | преди 5 месеца | |
src | преди 5 месеца | |
LICENSE | преди 5 месеца | |
README.md | преди 5 месеца | |
package.json | преди 5 месеца |
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");