|
|
10 сар өмнө | |
|---|---|---|
| .. | ||
| dist | 10 сар өмнө | |
| src | 10 сар өмнө | |
| LICENSE | 10 сар өмнө | |
| README.md | 10 сар өмнө | |
| package.json | 10 сар өмнө | |
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");