Does Threefish encryption unresistant the differential attacks?

I applied Threefish encryption on grayscale image pixels (256*256). For analysis, I computed NPCR and UACI and found the following results:
NPCR = 0.0488 UACI = 0.0135 I use the following Matlab code for both NPCR and UACI:
D=(c1~=c2); % c1, c2 are cipher images with the same plain image but with 1 pixel difference
NPCR_m=sum(sum(D))/(256*256);
NPCR_m=NPCR_m*100
dif=(abs(double(c1)-double(c2)))/255;
UACI=sum(sum(dif))/(256*256);
UACI=UACI*100
Does Threefish encryption unresistant the differential attacks, or I made some mistakes in calculation?

2 件のコメント

Walter Roberson
Walter Roberson 2020 年 9 月 28 日
Those formulas look plausible.
However for legal reasons we cannot discuss encryption here.
Ansam Osamah
Ansam Osamah 2020 年 9 月 28 日
Thank you very much

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEncryption / Cryptography についてさらに検索

タグ

質問済み:

2020 年 9 月 28 日

コメント済み:

2020 年 9 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by