-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Included reference to 'constant time' in crypto.timingSafeEqual descr… #16604
Conversation
doc/api/crypto.md
Outdated
@@ -1969,6 +1969,7 @@ added: v6.6.0 | |||
- `a` {Buffer | TypedArray | DataView} | |||
- `b` {Buffer | TypedArray | DataView} | |||
|
|||
This function is based on constant time algorithm. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: based on a constant-time algorithm
, or based on constant-time comparisons
would be more grammatically correct..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joyeecheung : agree.. let me make the correction to based on a constant-time algorithm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joyeecheung : I've made the change. Please review. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit message should be formatted according to the guidelines while landing..
…description The Node website would score higher on a Google search and the API would be more discoverable if it used the words "constant time" in its description. Fixes: #16604
@joyeecheung : Thanks for pointing out the commit message format. I've fixed that. Kindly have a look now. Thank you. |
Landed in 841e305, thanks! |
Included reference to 'constant time' in crypto.timingSafeEqual description. The Node website would score higher on a Google search and the API would be more discoverable if it used the words "constant time" in its description. PR-URL: #16604 Fixes: #16504 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
@joyeecheung : good to merge ? |
@mithunsasidharan This has already landed, if you look at 841e305 you'll see it's already on Node master. Github just doesn't show it as merged because the commit was rebased. Thanks for your contribution 🎉 ! |
@gibfahn @joyeecheung : Thanks much ! |
Included reference to 'constant time' in crypto.timingSafeEqual description. The Node website would score higher on a Google search and the API would be more discoverable if it used the words "constant time" in its description. PR-URL: nodejs#16604 Fixes: nodejs#16504 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Included reference to 'constant time' in crypto.timingSafeEqual description. The Node website would score higher on a Google search and the API would be more discoverable if it used the words "constant time" in its description. PR-URL: #16604 Fixes: #16504 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Included reference to 'constant time' in crypto.timingSafeEqual description. The Node website would score higher on a Google search and the API would be more discoverable if it used the words "constant time" in its description. PR-URL: #16604 Fixes: #16504 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Included reference to 'constant time' in crypto.timingSafeEqual description
Fixes : #16504