• Returns: {string[]} An array of the names of the supported hash algorithms, such as 'RSA-SHA256'. Hash algorithms are also called “digest” algorithms.
    1. const hashes = crypto.getHashes();
    2. console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]