Skip to content

doc: mention crypto.hash() for better perf#63420

Open
styfle wants to merge 1 commit into
nodejs:mainfrom
styfle:styfle/docs-crypto
Open

doc: mention crypto.hash() for better perf#63420
styfle wants to merge 1 commit into
nodejs:mainfrom
styfle:styfle/docs-crypto

Conversation

@styfle
Copy link
Copy Markdown
Member

@styfle styfle commented May 19, 2026

The docs on crypto.hash() already mentioned why you would use it over crypto.createHash().

This PR adds the reverse so that the docs on crypto.createHash() mention why you would use crypto.hash().

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/crypto

@nodejs-github-bot nodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations. labels May 19, 2026
Signed-off-by: Steven <steven@ceriously.com>
@styfle styfle force-pushed the styfle/docs-crypto branch from 5759172 to 05c7389 Compare May 19, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants