crypto.getCiphers()

  • Returns: {string[]} An array with the names of the supported cipher algorithms.
const ciphers = crypto.getCiphers();
console.log(ciphers); // ['aes-128-cbc', 'aes-128-ccm', ...]

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