Closed Dar9586 closed 3 months ago
Thank you for raising this. You should find that 5c4382c1397 fixes it.
Thank you for the fix, is there a way to call secure_shuffle
on the comp
variable?
Secure shuffling isn't supported with binary circuits, so only without -G
and -B
.
Is it possibile to generate random values with binary circuits?
Yes, but currently only bit-wise using sbits.get_random_bit()
.
I have the following problem with this circuit
Compiled with:
And executing using:
Alice input:
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
Bob input:[10, 11, 12, 13, 14, 15, 16, 8, 17, 18]
Expected output:[0, 0, 0, 8, 0, 10, 0, 0, 0, 0, 0]
Program Output:[0, 0, 0, 0, 0, 147573952589676412928, 8, 0, 0, 184467440737095516160, 10]
Also, I would like to execute a
secure_shuffle
on the comp array but it doesn't seem possible, is there any way to do it (in the snippet I commented it)?