Research Article

Searching for Cryptographically Significant Rotation Symmetric Boolean Functions by Designing Heuristic Algorithms

Algorithm 2

Generation of a balanced RSBF.
Input: Two RSBFs
Output: A balanced RSBF
(1) int
(2)ifthen
(3)for to do
(4)  ;
(5)end for
(6)end if
(7)for to do
(8)ifthen
(9)  
(10)else
(11)  ifthen
(12)   
(13)  else
(14)   ifthen
(15)    ;
(16)   else is randomly equal to 0 or 1.
(17)    ;
(18)    ifthen
(19)     .
(20)    end if
(21)   end if
(22)  end if
(23)end if
(24)end for return.