1.3 KiB
1.3 KiB
Archived 2026-04-19: all tasks retroactively ticked; packages shipped under universal/crypto/.
Tasks: enterprise-crypto
- 1. Add
cryptocatalog (@noble/ciphers, @noble/curves, @noble/hashes) to root package.json - 2. Scaffold package.json, tsconfig, vite/vitest configs (100 thresholds)
- 3. errors:
CryptoErrorextendingSuaveplanErrorwithCRYPTO_CODES - 4. random:
randomByteswith injectable RNG; single module-levelcrypto.getRandomValuescallsite - 5. compare:
constantTimeEqual - 6. zeroize:
zeroize - 7. hash:
sha256/sha384/sha512 - 8. hmac:
hmacwith algorithm dispatch - 9. kdf:
hkdf,pbkdf2,argon2idwith parameter validation - 10. aead:
aeadEncrypt/aeadDecryptdispatching AES-256-GCM + ChaCha20-Poly1305 - 11. sign:
ed25519,ecdsaP256namespaces - 12. agree:
x25519namespace - 13. Cross-cutting
tests/: dep-graph, no-disallowed, tree-shake - 14. Property-based tests via fast-check for every primitive
- 15. Co-located
.mdper implementation file - 16. README
- 17.
bunx turbo lint typecheck build test:coverage --filter=@suaveplan/crypto --forcegreen at 100/100/100/100 - 18. Publish to Verdaccio at 0.0.0
- 19. Archive change folder to
openspec/archive/<yyyy-mm-dd>-enterprise-crypto/