S-Box with encryption image
    3 次查看(过去 30 天)
  
       显示 更早的评论
    
Hi .......
there are problem in time for encryption image by s-bos (16*16) GF, how are reduce time execution for this code , 
note : I use RGB for encryption .
x = dec2bin(layer_image(i,j),8);
l = x(1, 1 : 4);
r = x(1, 5 : 8);
ld = bin2dec(l); % row
rd = bin2dec(r); % column
layer_image(i,j)=SBox(ld+1,rd+1);
0 个评论
回答(1 个)
  Aishwarya
 2023-12-23
        
      编辑:Walter Roberson
      
      
 2023-12-23
  
      x = dec2bin(layer_image(i,j),8);
l = x(1, 1 : 4);
r = x(1, 5 : 8);
ld = bin2dec(l); % row
rd = bin2dec(r); % column
layer_image(i,j)=SBox(ld+1,rd+1);
1 个评论
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Encryption / Cryptography 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


