|
|
há 10 meses atrás | |
|---|---|---|
| .. | ||
| dist | há 10 meses atrás | |
| src | há 10 meses atrás | |
| LICENSE | há 10 meses atrás | |
| README.md | há 10 meses atrás | |
| package.json | há 10 meses atrás | |
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");