const { getHashes,} = await import('node:crypto');console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...] Copy
const { getHashes,} = await import('node:crypto');console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
An array of the names of the supported hash algorithms, such as 'RSA-SHA256'. Hash algorithms are also called "digest" algorithms.
'RSA-SHA256'
v0.9.3