We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
kHashTypes
1 parent 99566ae commit f287cd7Copy full SHA for f287cd7
lib/internal/crypto/util.js
@@ -171,15 +171,6 @@ const kNamedCurveAliases = {
171
172
const kAesKeyLengths = [128, 192, 256];
173
174
-// These are the only hash algorithms we currently support via
175
-// the Web Crypto API.
176
-const kHashTypes = [
177
- 'SHA-1',
178
- 'SHA-256',
179
- 'SHA-384',
180
- 'SHA-512',
181
-];
182
-
183
const kSupportedAlgorithms = {
184
'digest': {
185
'SHA-1': null,
@@ -624,7 +615,6 @@ module.exports = {
624
615
setEngine,
625
616
toBuf,
626
617
627
- kHashTypes,
628
618
kNamedCurveAliases,
629
619
kAesKeyLengths,
630
620
normalizeAlgorithm,
0 commit comments