算法矩阵


¥Algorithm matrix

该表详细说明了 Node.js Web Crypto API 实现支持的算法以及每个算法支持的 API:

¥The table details the algorithms supported by the Node.js Web Crypto API implementation and the APIs supported for each:

算法generateKeyexportKeyimportKeyencryptdecryptwrapKeyunwrapKeyderiveBitsderiveKeysignverifydigest
'RSASSA-PKCS1-v1_5'✔✔✔✔✔
'RSA-PSS'✔✔✔✔✔
'RSA-OAEP'✔✔✔✔✔✔✔
'ECDSA'✔✔✔✔✔
'Ed25519'✔✔✔✔✔
'Ed448' 1✔✔✔✔✔
'ECDH'✔✔✔✔✔
'X25519'✔✔✔✔✔
'X448' 1✔✔✔✔✔
'AES-CTR'✔✔✔✔✔✔✔
'AES-CBC'✔✔✔✔✔✔✔
'AES-GCM'✔✔✔✔✔✔✔
'AES-KW'✔✔✔✔✔
'HMAC'✔✔✔✔✔
'HKDF'✔✔✔✔
'PBKDF2'✔✔✔✔
'SHA-1'✔
'SHA-256'✔
'SHA-384'✔
'SHA-512'✔