NEWS! We will soon release a TypeScript transpilation and improvement of this library. Self-contained cryptographic library for use in electronic voting clients. Complete documentation with references to the literature makes it good teaching material.
Hi,
It seems that this line of code is broken: https://github.com/verificatum/verificatum-vjsc/blob/85eae030969ab5fe01a9448151b5b08140973e88/src/js/verificatum/arithm/PPRing.js#L279
in case the previous statement is false: https://github.com/verificatum/verificatum-vjsc/blob/85eae030969ab5fe01a9448151b5b08140973e88/src/js/verificatum/arithm/PPRing.js#L275-L279
The
elements
variable is not yet defined, soelements.length
would result in aTypeError
.