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

Problems of r and rPrime generation in getDividedShares() function #13

Open
dujifeng opened this issue Sep 9, 2021 · 1 comment
Open

Comments

@dujifeng
Copy link

dujifeng commented Sep 9, 2021

In your code, you just set r = 0 and rPrime = 0, which is unsecure. Can you tell me how to generate r and rPrime correctly?

@snwagh
Copy link
Owner

snwagh commented Sep 10, 2021

The codebase doesn't implement the pre-processing. While there may be different ways to generate the preprocessing, one specific way is described in the section on Share Truncation 2 in ABY3 (page 14).

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

No branches or pull requests

2 participants