Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: construct class for dsum #2

Merged
merged 3 commits into from
Nov 25, 2023
Merged

feat: construct class for dsum #2

merged 3 commits into from
Nov 25, 2023

Conversation

vivianjeng
Copy link
Owner

@vivianjeng vivianjeng commented Nov 25, 2023

DSum

  • $KeyGen()$:
    • $(pk,sk_{pk}) = ((NIKE.pk, AoNE.pk),(NIKE.sk_{pk}, AoNE.sk_{pk}))$
  • $Encrypt(sk_{pk}, m)$:
    • $c_{pk} = x +\sum_{pk' < pk}r - \sum_{pk' > pk}r$
    • $ct_{pk} = (AoNE.Encrypt(AoNE.sk_{pk},(c_{pk}, U_M, l)), U_M, l)$
  • $Decrypt(\epsilon, (ct_{pk})_{pk\in U_M})$
    • $AoNE.Decrypt(\epsilon, (ct_{pk})_{pk\in U_M} )$
    • return $\sum_{pk\in U_M} c_{pk}$

@vivianjeng
Copy link
Owner Author

TODO:
#3 #4

@vivianjeng vivianjeng merged commit 1d29666 into main Nov 25, 2023
6 checks passed
@vivianjeng vivianjeng deleted the dsum branch November 25, 2023 13:24
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.

1 participant