Add: todo comments

mixer
Hai Brenner 2016-07-31 17:44:24 +03:00
parent cb65103fca
commit aea84d0f54
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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;