crypto.getHashes()

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

最后修改 April 16, 2020: 加密 (a75e592)