Permalink
Please
sign in to comment.
Browse files
crypto: DRY type checking
Factor out some common code. The `checkUint()` function will also be used in a follow-up commit that adds scrypt support to core. PR-URL: #20816 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
- Loading branch information...
Showing
with
26 additions
and 24 deletions.
- +7 −21 lib/internal/crypto/pbkdf2.js
- +2 −2 lib/internal/crypto/sig.js
- +17 −1 lib/internal/crypto/util.js
0 comments on commit
4957562