We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221df22 commit 503fd55Copy full SHA for 503fd55
lib/crypto.js
@@ -137,7 +137,6 @@ function createVerify(algorithm, options) {
137
138
module.exports = exports = {
139
// Methods
140
- _toBuf: deprecate(toBuf, 'crypto._toBuf is deprecated.', 'DEP0114'),
141
createCipheriv,
142
createDecipheriv,
143
createDiffieHellman,
@@ -202,6 +201,10 @@ function getFipsForced() {
202
201
}
203
204
Object.defineProperties(exports, {
+ _toBuf: {
205
+ enumerable: false,
206
+ value: deprecate(toBuf, 'crypto._toBuf is deprecated.', 'DEP0114')
207
+ },
208
createCipher: {
209
enumerable: false,
210
value: deprecate(createCipher,
0 commit comments