cburkert / fuzzy-commitment

Python library providing a fuzzy commitment scheme
MIT License
7 stars 4 forks source link

Remove hard-coding of BCH polynomial #1

Open cburkert opened 6 years ago

cburkert commented 6 years ago

The hard-coded polynomial was taken from bchlib's example. This limits the supported range of fuzziness thresholds and should rather be chosen dynamically based on the FCS parameters.

cburkert commented 5 years ago

Polynomial is made user-definable in 1621ea6f0cb081a831d858232d21f010cc02a84f

Asrar-b commented 4 years ago

Hi, is this argument mean n in BCH(n,k,t)? or what does it mean? Also, why I can't change the polynomial arg.? , an error arise while changing this arg, "can't change this argument,bad parameter?

cburkert commented 4 years ago

@lolib11 The argument specifies which polynomial is used for the BCH code. As you can see in the code, it is directly passed to bchlib. So I suggest you go there for more information about what are valid polynomials and how to select them. https://github.com/jkent/python-bchlib