Web 加密 API 中的现代算法


【Modern Algorithms in the Web Cryptography API】

稳定性: 1.1 - 处于活跃开发中

Node.js 提供了以下来自 Web Cryptography 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
  • 'Argon2d'2
  • 'Argon2i'2
  • 'Argon2id'2
  • 'ChaCha20-Poly1305'
  • 'cSHAKE128'
  • 'cSHAKE256'
  • 'KMAC128'1
  • 'KMAC256'1
  • 'ML-DSA-44'3
  • 'ML-DSA-65'3
  • 'ML-DSA-87'3
  • 'ML-KEM-512'3
  • 'ML-KEM-768'3
  • 'ML-KEM-1024'3
  • 'SHA3-256'
  • 'SHA3-384'
  • 'SHA3-512'

密钥格式:

【Key Formats:】

  • 'raw-public'
  • 'raw-secret'
  • 'raw-seed'

方法:

【Methods:】