diff options
Diffstat (limited to 'lib/internal/crypto/hash.js')
-rw-r--r-- | lib/internal/crypto/hash.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js index 5e67efe6c5..89ab29d845 100644 --- a/lib/internal/crypto/hash.js +++ b/lib/internal/crypto/hash.js @@ -8,7 +8,6 @@ const { const { getDefaultEncoding, kHandle, - legacyNativeHandle, toBuf } = require('internal/crypto/util'); @@ -89,8 +88,6 @@ Hash.prototype.digest = function digest(outputEncoding) { return ret; }; -legacyNativeHandle(Hash); - function Hmac(hmac, key, options) { if (!(this instanceof Hmac)) @@ -130,8 +127,6 @@ Hmac.prototype.digest = function digest(outputEncoding) { Hmac.prototype._flush = Hash.prototype._flush; Hmac.prototype._transform = Hash.prototype._transform; -legacyNativeHandle(Hmac); - module.exports = { Hash, Hmac |