- 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', ...]
'RSA-SHA256'
. Hash algorithms are also called “digest” algorithms.
const hashes = crypto.getHashes();
console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
若有收获,就点个赞吧
0 人点赞
让时间为你证明