Skip to content

docs: add crypto package integration guide#6

Open
Kkkakania wants to merge 1 commit into
AnonVote:mainfrom
Kkkakania:docs/crypto-package-integration-guide
Open

docs: add crypto package integration guide#6
Kkkakania wants to merge 1 commit into
AnonVote:mainfrom
Kkkakania:docs/crypto-package-integration-guide

Conversation

@Kkkakania

Copy link
Copy Markdown

Summary

  • Add specs/crypto-integration.md as a formal integration guide for @anonvote/crypto.
  • Document correct composition for identity hashing, token lifecycle, and vote encryption/tally flows.
  • Specify per-ballot key generation, storage, blast-radius, and rotation requirements.
  • Document six misuse patterns grounded in the current AnonVote/core implementation.
  • Link the new guide from the protocol README contents table.

Verification

  • Cross-checked primitive behavior against AnonVote/js/src/crypto.ts.
  • Cross-checked integration risks against AnonVote/core services, config, and Prisma schema.
  • Ran npm test in AnonVote/js: 15 tests passed.
  • Ran npm run build in AnonVote/js.
  • Ran a package smoke test covering the guide's core examples against dist/index.js.
  • Ran git diff --check.

Closes #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write the @anonvote/crypto package integration guide

1 participant