getHashes

external fun getHashes(): ERROR CLASS: Symbol not found for js.array.ReadonlyArray<kotlin/String>(source)
const {
getHashes,
} = await import('node:crypto');

console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]

Since

v0.9.3

Return

An array of the names of the supported hash algorithms, such as 'RSA-SHA256'. Hash algorithms are also called "digest" algorithms.