Research Article

An Efficient Online Multiparty Interactive Medical Prediagnosis Scheme with Privacy Protection

Algorithm 2

Preprocessing for medical instances.
Input: disease , medical vector (or ), feature weight
vector .
Output: the preprocessed vector , (or ).
1: Generate two large prime numbers and a random number (or ) and satisfy ,
and (or );
2: The feature weight is assigned to get ,
(or );
3: The vector value is iteratively transformed to get
,
(or );
4: The vector is expanded forward to get
,
(or );
5:for to do
6: Generate a random number (or ) and satisfy ;
7: if do
8:   (or );
9: else do
10:   (or );
11: end if
12:end for
13: return (or ).