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);

Antworten (1)

Aishwarya
Aishwarya am 23 Dez. 2023
Bearbeitet: Walter Roberson am 23 Dez. 2023

0 Stimmen

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 Kommentar

Walter Roberson
Walter Roberson am 23 Dez. 2023
What difference is there between this and what was already posted?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Encryption / Cryptography finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Tags

Gefragt:

am 31 Jul. 2020

Kommentiert:

am 23 Dez. 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by