Closed preetigaur closed 6 years ago
Off-hand, I’d say they’re probably generating a polynomial that’s a byte short, so their threshold is actually k+1
, but I don’t know Swift so it’s hard for me to tell. Can you combine halfParts
using that library?
Both the libraries are not able to combine the half parts generated from the other library but can combine all the parts
It sounds like either your threshold with the iOS app is too high (i.e. should be 2 but is 3) or the iOS library has a bug in it. If you determine that it’s a bug in this library, please open a new issue with a reproduction case.
Hi
I've been trying to use this library to work with iOS. I keep facing an issue in combining the shares which are generated on iOS platform. Each share generated on iOS is an unsigned integer array, whereas in Java it's in form of signed bytes. I have been converting the unsigned integer array from iOS to signed bytes.
The Scheme.join() method works fine if I provide all the shares generated on iOS but fails if the number of shares are less than the total number number of shares.
I have been using this library in iOS.
Could you please help me with resolving the issue. Thanks in advance.