| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Review requested:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM with or without my suggestion
Sorry, something went wrong.
| let result; | ||
| try { | ||
| result = await pbkdf2Promise(raw, salt, iterations, length / 8, hash); |
There was a problem hiding this comment.
| let result; | |
| try { | |
| result = await pbkdf2Promise(raw, salt, iterations, length / 8, hash); | |
| try { | |
| const { buffer } = await pbkdf2Promise(raw, salt, iterations, length / 8, hash); | |
| return buffer; |
Sorry, something went wrong.
| resolve(result.buffer); | ||
| }); | ||
| }); | ||
| return result.buffer; |
There was a problem hiding this comment.
| return result.buffer; |
Sorry, something went wrong.
PR-URL: #44945 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #44945 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
| Back | FazBrowse Home | New Git URL |
Both HKDF and PBKDF2 do not specify a default-applied length, this removes a possibly forgotten default used for initial development?