diff --git a/lib/internal/crypto/util.js b/lib/internal/crypto/util.js index 6bf3f0624dffe5..a1d7e84dae36bc 100644 --- a/lib/internal/crypto/util.js +++ b/lib/internal/crypto/util.js @@ -171,15 +171,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, @@ -624,7 +615,6 @@ module.exports = { setEngine, toBuf, - kHashTypes, kNamedCurveAliases, kAesKeyLengths, normalizeAlgorithm,