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), orvcbuild test
(Windows) passes -
commit message follows commit guidelines