Web 加密 API 中的现代算法


¥Modern Algorithms in the Web Cryptography API

稳定性: 1.1 - 积极开发

¥Stability: 1.1 - Active development

Node.js 提供了 Web 加密 API 中的现代算法 WICG 提案中以下功能的实现:

¥Node.js provides an implementation of the following features from the Modern Algorithms in the Web Cryptography API WICG proposal:

算法:

¥Algorithms:

  • 'AES-OCB'1

  • 'ChaCha20-Poly1305'

  • 'cSHAKE128'

  • 'cSHAKE256'

  • 'ML-DSA-44'2

  • 'ML-DSA-65'2

  • 'ML-DSA-87'2

  • 'ML-KEM-1024'2

  • 'ML-KEM-512'2

  • 'ML-KEM-768'2

  • 'SHA3-256'

  • 'SHA3-384'

  • 'SHA3-512'

密钥格式:

¥Key Formats:

  • 'raw-public'

  • 'raw-secret'

  • 'raw-seed'

方法:

¥Methods: