How can i calculate NPCR and UACI values to test the differential attacks for an image encryption

I am implementing an Image Encryption and want to calculate theUACI and NPCR to test for differential attack. Any help please?

Categories

Asked:

on 3 Oct 2021

Commented:

on 8 Oct 2021

Community Treasure Hunt

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

Start Hunting!