|
5 mesiacov pred | |
---|---|---|
.. | ||
dist | 5 mesiacov pred | |
src | 5 mesiacov pred | |
LICENSE | 5 mesiacov pred | |
README.md | 5 mesiacov pred | |
package.json | 5 mesiacov pred |
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");