資源簡(jiǎn)介
analysis of NPCR and UACI of Image
代碼片段和文件信息
function?results?=?NPCR_and_UACI(?img_a?img_b?need_display?largest_allowed_val?)
%?=========================================================================
%?FUNCTION:?
%????????gives?NPCR?&?UACI?quantitative?and?qualitative?scores?for
%????????the?strength?against?possible?differential?attacks?of?image
%????????ciphers
%?=========================================================================
%?INPUT:
%????????img_a?img_b:?two?encrypted?images?of?same?size?and?type
%????????need_display:?on/off?option?to?show?outputs?(default:?on)
%????????largest_allowed_val:?is?the?value?of?the?largest?theoretical?
%??????????????????????allowed?value?in?encrypted?image.?If?it?is?not
%??????????????????????provided?algorithm?will?automatically?choose?one.
%?=========================================================================
%?OUTPUT:
%????????results.npcr_score:?quantitative?NPCR?score?(larger?is?better)
%????????results.npcr_pVal?:?qualitative?NPCR?score??(larger?is?bet
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????10319??2014-12-05?21:40??NPCR_and_UACI.m
評(píng)論
共有 條評(píng)論