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
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
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
asad ullah 2020 年 2 月 15 日
yes exactly please send me the code if you have?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEncryption / Cryptography についてさらに検索

質問済み:

Jh
2014 年 7 月 30 日

コメント済み:

2020 年 2 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by