diff --git a/lib/internal/crypto/util.js b/lib/internal/crypto/util.js index d0f7e898d3495c..59049284d40b84 100644 --- a/lib/internal/crypto/util.js +++ b/lib/internal/crypto/util.js @@ -168,15 +168,6 @@ const kNamedCurveAliases = { const kAesKeyLengths = [128, 192, 256]; -// These are the only hash algorithms we currently support via -// the Web Crypto API. -const kHashTypes = [ - 'SHA-1', - 'SHA-256', - 'SHA-384', - 'SHA-512', -]; - const kSupportedAlgorithms = { 'digest': { 'SHA-1': null, @@ -594,7 +585,6 @@ module.exports = { setEngine, toBuf, - kHashTypes, kNamedCurveAliases, kAesKeyLengths, normalizeAlgorithm,