Skip to content

crypto: make _toBuf non-enumerable

After landing https://github.com/nodejs/node/pull/22501, I noticed that I did not make _toBuf non-enumerable. Following the discussion in https://github.com/nodejs/node/pull/22519, I believe it should be, so here is that. Partially also for consistency with the rest of crypto.js.

cc @nodejs/crypto

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading