diff --git a/lib/internal/crypto/hash.js b/lib/internal/crypto/hash.js index 6522a19509f353..308c16f9a88b93 100644 --- a/lib/internal/crypto/hash.js +++ b/lib/internal/crypto/hash.js @@ -25,8 +25,8 @@ const { inherits } = require('util'); const { normalizeEncoding } = require('internal/util'); const { isArrayBufferView } = require('internal/util/types'); const LazyTransform = require('internal/streams/lazy_transform'); -const kState = Symbol('state'); -const kFinalized = Symbol('finalized'); +const kState = Symbol('kState'); +const kFinalized = Symbol('kFinalized'); function Hash(algorithm, options) { if (!(this instanceof Hash))