This secure comparison demo (source code available on GitHub) simulates a secure multi-party computation (MPC) protocol entirely in your browser by importing and invoking the tinynmc libraries using PyScript.
Within the implementation of the library, vectors of finite field elements are used to represent both the masked data sent to nodes and the overall result. In the visualizations below, instances of these data structures are visually presented as a variant of a heat map in which the brightness value corresponds to the difference between the finite field element and zero. For example, a vector such as 1 mod 115 mod 118 mod 113 mod 1110 mod 11 is represented by .
The target value obtained
via an API GET request sent to https://httpbin.org/bytes/1
will appear here. |