Simple Matlab Code For Image Encryption and Decryption.
30 views (last 30 days)
Show older comments
Niharika
on 13 Apr 2014
Commented: Walter Roberson
on 28 Nov 2020
Can someone please post a simple matlab code for image encryption/decryption. Its urgent. Thank you. :)
7 Comments
Walter Roberson
on 28 Nov 2020
Sorry, Dhayanithi Govindasamy, the steps you posted could easily have been extended past 56 bits key space, and so we are not permitted to host that discussion here due to US law.
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
Accepted Answer
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
Abdiaziz Hussein
on 10 Nov 2019
I need a algorithm written in Matlab, for a Elgamal encryption which can encrypt and decrypt data stream of 32 words, with a key which has a modulus of 1024 vits
More Answers (2)
Namitha H.S Gowda
on 25 Mar 2018
Can someone please post a simple matlab code for image encryption/decryption
5 Comments
Image Analyst
on 13 Nov 2018
Even US universities need to get approval to do research into advancing the state of the art in encryption. Note that encryption is different than encoding, like encoding a video into a binary file.
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.
arun anoop m
on 5 Aug 2019
Edited: Walter Roberson
on 16 Aug 2019
2 Comments
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.
See Also
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!