We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50aa85d commit 8ba1d71Copy full SHA for 8ba1d71
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,
@@ -205,6 +204,10 @@ function getFipsForced() {
205
204
}
206
207
Object.defineProperties(exports, {
+ _toBuf: {
208
+ enumerable: false,
209
+ value: deprecate(toBuf, 'crypto._toBuf is deprecated.', 'DEP0114')
210
+ },
211
createCipher: {
212
enumerable: false,
213
value: deprecate(createCipher,
0 commit comments