Research Article

A New Type of Countermeasure against DPA in Multi-Sbox of Block Cipher

Algorithm 1

The pseudocode of scheme.
Input:, muti-Sbox
Output:
(1) function(,muti-Sbox,)
(2)  Convert muti-Sbox to
(3)  Number the Sbox start at
(4)  input Random masking
(5)  for to 8
(6)   do
(7)     Chose Sbox
(8)    if()
(9)     Save
(10)     
(11)     go to  Line
(12)    else
(13)     
(14)      if
(15)       Chose
(16)       go to  Line
(17)      else if
(18)       Chose
(19)       go to  Line
(20)       end if
(21)    end if
(22)  end for
(23)  
(24)  return  S
(25) end function