Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
crypto: remove unused kHashTypes internal
  • Loading branch information
aduh95 committed Aug 29, 2024
commit db4eb678e03294789af2d1d5b7027f6b6580af59
10 changes: 0 additions & 10 deletions lib/internal/crypto/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -594,7 +585,6 @@ module.exports = {
setEngine,
toBuf,

kHashTypes,
kNamedCurveAliases,
kAesKeyLengths,
normalizeAlgorithm,
Expand Down