Research Article

Privacy Preservation for Friend-Recommendation Applications

Algorithm 3

Attributes matching.
: the number of attribute groups.
Input:
: the attribute group of in the form
of cipher-text( );
: the attributes group of in the form
of cipher-text( );
, : the attribute group’s parameters set by the
;
Output: : the matching result (
)
if 0 ANDthen
fordo
;
end
end
return res;