Research Article
Invalid Signatures Searching Bitwise Divisions-Based Algorithm for Vehicular Ad-Hoc Networks
Algorithm 2
Factorial bitwise divisions’ algorithm.
Input: nonempty Set | Output: set | (1) | function | (2) | if then | (3) | if Verify () then | (4) | return | (5) | else | (6) | return | (7) | end if | (8) | end if | (9) | | (10) | | (11) | | (12) | if then | (13) | return | (14) | end if | (15) | if then | (16) | return | (17) | end if | (18) | if then | (19) | choose two groups on random bit | (20) | | (21) | | (22) | else | (23) | | (24) | end if | (25) | return | (26) | end function |
|