Add: todo comments
parent
cb65103fca
commit
aea84d0f54
|
@ -79,6 +79,7 @@ public class Protocol<T> extends VerifiableSecretSharing<T> {
|
|||
* it must be chosen such that computing discrete logarithms is hard in this group.
|
||||
* @param encoder Encode/Decode group elements (of type T) to/from byte array
|
||||
*/
|
||||
//TODO: why the use of regular Random? Should it be changed?
|
||||
public Protocol(int t, int n, BigInteger zi, Random random, BigInteger q, T g
|
||||
, Group<T> group, int id, ByteEncoder<T> encoder) {
|
||||
super(t, n, zi, random, q, g,group);
|
||||
|
|
|
@ -198,6 +198,7 @@ public class Polynomial implements Comparable<Polynomial> {
|
|||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
//TODO: is this implementation correct? cannot understand its logic (hai)
|
||||
if(!super.equals(obj))
|
||||
return false;
|
||||
Point other = (Point)obj;
|
||||
|
|
Loading…
Reference in New Issue