Simple Matlab Code For Image Encryption and Decryption.

382 views (last 30 days)
Can someone please post a simple matlab code for image encryption/decryption. Its urgent. Thank you. :)
  7 Comments
Walter Roberson
Walter Roberson on 28 Nov 2020
Images are not always 0 to 255. For example CT scan images are routinely int16 values, -32768 to +32767

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 13 Apr 2014
Edited: Image Analyst on 13 Apr 2014
I'm guessing you did not do a search of the File Exchange or you would not be asking this. Please click on this link: http://www.mathworks.com/matlabcentral/fileexchange/index?utf8=%E2%9C%93&term=encryption
  7 Comments

Sign in to comment.

More Answers (2)

Namitha H.S Gowda
Namitha H.S Gowda on 25 Mar 2018
Can someone please post a simple matlab code for image encryption/decryption
  5 Comments
Walter Roberson
Walter Roberson on 13 Nov 2018
It is a frustrating restriction, and often makes little sense, but it is the law of the USA.
Another note: authentication is considered to be different than encryption. So something like a well-hidden watermark to verify copyright is legal. The technologies for watermarking are essentially the same as steganography (hiding messages), so the legal boundaries are far from clear.

Sign in to comment.


arun anoop m
arun anoop m on 5 Aug 2019
Edited: Walter Roberson on 16 Aug 2019
  2 Comments
Walter Roberson
Walter Roberson on 16 Aug 2019
Any algorithm that can encrypt binary streams can be used to encrypt images.
Discussion of all the image encryption algorithms and their benefits and tradeoffs is beyond the scope of this resource.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!