Skip to content

Commit

Permalink
move cfrg algorithms away from node-specific exts
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Apr 3, 2022
1 parent ea425f4 commit 9489e11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/internal/crypto/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ const kAlgorithms = {
'sha-512': 'SHA-512',
'hkdf': 'HKDF',
'pbkdf2': 'PBKDF2',
'ed25519': 'Ed25519',
'ed448': 'Ed448',
'x25519': 'X25519',
'x448': 'X448',
// Following here are Node.js specific extensions. All
// should be prefixed with 'node-'
'node-dsa': 'NODE-DSA',
'node-dh': 'NODE-DH',
'node-scrypt': 'NODE-SCRYPT',
'ed25519': 'Ed25519',
'ed448': 'Ed448',
'x25519': 'X25519',
'x448': 'X448',
};
const kAlgorithmsKeys = ObjectKeys(kAlgorithms);

Expand Down

0 comments on commit 9489e11

Please sign in to comment.