Research Article

Towards Attack to MemGuard with Nonlocal-Means Method

Algorithm 1

Nonlocal-means attack method.
Input:, , , and .
Output:.
(1)fordo
(2)
(3) //obtain by the symmetric padding of ;
(4);
(5);
(6);
(7);
(8);
(9);
(10)fordo
(11)  ifthen
(12)   continue;
(13)  ;
(14)  ;
(15)  
(16)  ifthen
(17)   ;
(18)  sweight = sweight + 
(19)  
(20)
(21);
(22)ifthen
(23)  ;
(24)  else
(25)