フィルターのクリア

S-Box with encryption image

6 ビュー (過去 30 日間)
omar A.alghafoor
omar A.alghafoor 2020 年 7 月 31 日
コメント済み: Walter Roberson 2023 年 12 月 23 日
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);

回答 (1 件)

Aishwarya
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 件のコメント
Walter Roberson
Walter Roberson 2023 年 12 月 23 日
What difference is there between this and what was already posted?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEncryption / Cryptography についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by