필터 지우기
필터 지우기

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 CenterFile Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by