在Node.js中,console.dir(getCiphers(), {'maxArrayLength': null})
同时输出id-aes128-wrap
和aes128-wrap
。它们之间有什么区别?
运行getCipherInfo
似乎表明后者只是前者的别名?
console.log(getCipherInfo('id-aes128-wrap'))
console.log(getCipherInfo('aes128-wrap'))
字符串
退货:
{
mode: 'wrap',
name: 'id-aes128-wrap',
nid: 788,
blockSize: 8,
ivLength: 8,
keyLength: 16
}
{
mode: 'wrap',
name: 'id-aes128-wrap',
nid: 788,
blockSize: 8,
ivLength: 8,
keyLength: 16
}
型
1条答案
按热度按时间lnlaulya1#
它们是一回事是个化名