Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: order crypto methods alphabetically #55831

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

badkeyy
Copy link
Contributor

@badkeyy badkeyy commented Nov 13, 2024

Fixes #55801

@nodejs-github-bot
Copy link
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 Nov 13, 2024
@aduh95
Copy link
Contributor

aduh95 commented Nov 13, 2024

While we're at it:

@aduh95
Copy link
Contributor

aduh95 commented Nov 13, 2024

I've found some more who are out of order:

  • crypto.constants
  • crypto.checkPrime(candidate[, options], callback)
  • crypto.randomFillSync(buffer[, offset][, size])

FWIW, here's the script I've used, so we can be confident we're forgetting any:

$0.querySelectorAll('ul').forEach(ul => console.log(Array.from(ul.children, li => li.textContent.split('(', 1)[0]).find((t, i, l) => t < l[i-1])))

If you can push one commit per section that you move, that would make reviewing easier :)

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.

Disordered position of the crypto.hash
3 participants