Research Article

A Manipulation Prevention Model for Blockchain-Based E-Voting Systems

Algorithm 3

Secret reconstruction algorithm.
N nodes, P prime number
Input: i = 0..N-1
Output: Secret data S
(1)forj = 0 tokdo//calculation of function coefficients from nodes
(2)
(3)forj = 0 toNdo//reconstruct function
(4)
(5)//calculate encrypted data
(6)returnS