AES Image Encryption Decryption
显示 更早的评论
I am encrypting image using AES algorithm. But when i am reading the image after Encryption its showing me multiple images. Can anybody help me out to solve this problem.
Thanks alot.
JH
3 个评论
Salaheddin Hosseinzadeh
2014-7-30
What do you mean you see multiple images? Would you please post a picture with your question?
You can view anything as an image, just load them to MATLAB and show them using imshow. you can even do it with audio files,lol.
So you always gonna see something even if encrypted. Is that your problem?!
John
2014-7-30
It is not clear what you mean by seeing multiple images. Could you clarify? What are the steps you took?
Also do be careful when encrypting images with AES. AES can be used in several modes of operation. And using the plain old AES mode, called Electronic Code Book (ECB) mode, to encrypt an image, is a bad idea. Use one of the more advanced modes of operation. AES is a block cipher. And simply using ECB mode to encrypt an image will show off the information in the cipher text when viewed with an image viewer.
Is that what you meant? You are seeing the image even after encryption?
asad ullah
2020-2-15
yes exactly please send me the code if you have?
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Encryption / Cryptography 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!