File Exchange

image thumbnail

Picture Encryption and Decryption

version 1.3.0.0 (1.89 KB) by Alexander Wallar
This algorithm decrypts and encrypts images based on keys

53 Downloads

Updated 17 Feb 2011

View Version History

View License

TO USE THIS FILE MY IMPROVED BASE EXPANSION ALGORITHM MUST BE DOWNLOADED AND IN YOUR DIRECTORY! please read the help section. I know that the algorithm help section is hard to understand. please please please just politely comment with your email and i will answer any questions you may have.

Cite As

Alexander Wallar (2021). Picture Encryption and Decryption (https://www.mathworks.com/matlabcentral/fileexchange/30282-picture-encryption-and-decryption), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (75)

Neelam Yadav

hello sir, i need matlab code for image encryption using DNA. My email id: nhyadav57@gmail.com

Jannat Ara

Please sir send me the source code.this badly need for me.My email jannatpatwary96@gmail.com

Karthika Ramkumar

Sir, I need coding for controlled alternate Quantum walks based image encryption. My email id: karthikaramkumar97@gmail.com

lokesh jatta

i need matlab code for image encryption using choatic systems my email is : lokeshjatta7@gmail.com

teja krishna

Hello sir, I am working on image encryption and decryption, can you please share the source code.
My Email: teja.kopuri.17ece@bml.edu.in
Thank you

Piyush Jha

Hello sir, This is Piyush , I'm interested in what you made, can you please help me with image encryption and decryption code using the AES algorithm. Can i get the source code, please mail me at pjha4000@gmail.com . Thank you soo much sir

Atanu Samadder

Hello, can you please provide me with your Matlab code? I am working on securing biometric data using the RSA encryption algorithm and your code might be of great help. my email id is youareadi@gmail.com. Thank you!

Mohammed Kaka Ahmed

I need matlab code for encryption and compression using LSB techniques my email is kamohammed@graduate.utm.my for my project

hussein moksad

please how can I get the matlab code of SIt encryption and decryption. and FSN, ANU algorithm. please send it to my email (hussein.muhammad@student.uobabylon.edu.iq). with my big thank.

B Kiran Kumar

sir, i am very impressive with your work. i am actually trying to make my project on encryption and decryption. kindly please help me the latest algorithms which were used in this projects. and also i need a matlab code for AES/RAS/ DIFFLE HELLMEN KEY ALGORITHMS

Dheeraj Tandon

Sir, i am in need cade for encryption and description of an image using the Matlab software. Please send it to my eamil id dheerajtandon9@gmail.com
Thank you

ivan huda

Hello sir, I'm interested in what you made, can you please help me with image encryption and decryption code using the AES algorithm. Can i get the source code, please mail me at ivanmiftahulhuda@gmail.com . Thank you

Miss Miss

monsieur s'il vous plait, vous pouvez m'aider à utiliser AES pour crypter une image puis utiliser les ECC pour l'échange de clés. c'est très urgent mon projet c'est pour bientôt. voici moi email mssbrahmi@gmail.com

Alwan Muhammad Fajar

Sir can You please send the code, please mail me at alwanmf@gmail.com

manikanta thiruveedhi

sir can u pllease send the code ,please mail me at manikdha462@gmail.com

sri harsha perni

sir could i please have the code for this project its very urgent sir, please email me at pernisriharsha@gmail.com

KEERTHANA J 17BEC1033

Sir, could I please have the MATLAB code for this project, please email me at keethu.kj@gmail.com

bharath R

HI SIR ,I am working on cryptography based on DNA analysis can I get the source code.....mail: bharathgowda531@gmail.com

Ko Zin

please solve this algorithm with method calculation

navin bhaskar

Dear sir, I needed Medical Image Encryption/ Decryption deffie hellman ecc Algorithms MATLAB Code with efficient security features. can u please sent code to my email id - nbhaskar91226@gmail.com. Thank you

Dear Alexander Waller, i am currently working on my project entitled as Secure IOT Healthcare, I needed Medical Image Encryption/ Decryption (AES/ECC/RSA/DES) Algorithms MATLAB Code with efficient security features. I will be very happy to find your guidelines as well as MATLAB code for completing my Project and it will be great help to me. Eagerly waiting your reply My Mail ID is jalal4amu@yahoo.com. Thanks in Advance and Wishing your happy life.

Hannah Anne

Hello sir. Would you happen to know the matlab code for DES encryption and decryption of an image? If so, I request you to kindly send it to my mail hannahanneemail@gmail.com Thank you very much.

SASNA M S

sir, can u please sent code of aes algorithm for encyption and decryption to the mail ID-'sasnams369@gmail.com'

ahmed ayoup

sir I am working on image encryption and decryption using AES algorithm . Can you please send me the code to mail :ayoup.2012@hotmail.com

Please mention the name of the code whether it is rsa or not kindly mail the name to venkatasiddeswari@gmail.com

sami ullah

Sir I m working on image encryption and decryption using aes algorithm .Can you please send me the code to the below mail id.Thank you in advance
samiiub@gmail.com

Ruba Tarichani

kindly share Matlab code for image encryption and decryption in AES algorithm to my mail id rubatarichani@gmail.com

sruthi viswanath

kindly share matlab code for Image encryption and decryption in AES algorithm to my mail id sruthuu@gmail.com

abdo ayad

vikky anand
10 Jul 2018

Hello sir, kindly help me with convert color image to binary and convert binary image to color image
Id, abdayad855@yahoo.com

vikky anand

Hello sir, kindly help me with image encryption and decryption code using AES algorithm .Thank you - vikky_bt2k16@dtu.ac.in

Asad Malik

Hello Sir, Kindly send me the code for encryption/ decryption of grayschale image by using AES algorithm in Matlab
Thank you ! ~ malik1213@gmail.com

Muhammad shaikh

Hi. I am working on homomorphic encryption technique can somebody send me encryption and decryption code for signal processing of homomorphic encryption. My email id is mushaikh1986@gmail.com

I shall be very thankful to you

ashish basnet

Hi Alexander, i am currently doing my project work on hybrid AES and ECC Encryption technique. I am trying to use ECC for encrypting AES keys and AES for encryption / decryption process. can you assist me by providing me the AES and ECC ALGORITHM codes for matlab to my id ashishbasnet31@gmail.com. that would be really a big help to me.

Madhu basavaraj

kindly share matlab code for Image encryption and decryption in AES and RSA algorithms to my mail id bmadhu.cs@gmail.com

Darsana P M

Sir, I would like to do aes-encryption on dicom images for my project. Could you please sent me the AES code?
My emai id is: darsanap@gmail.com

Abdul Gaffar

megha prabhu

Sir I m working on image encryption and decryption using aes algorithm .Can you please send me the code to the below mail id.Thank you in advance
meghagranger@gmail.com

vijay sahani

amrutha tr

Dear Sir, i need your kind help, Kindly send me code for encryption and description of an image using AES the Matlab software. Please send it to my Email ID
amruthatr1212@gmail.com

Muhammad Sarfraz

Dear Sir, i need your kind help, Kindly send me code for encryption and description of an image using AES the Matlab software. Please send it to my Email ID
msarfrazmphil@gmail.com

Shruti Neralkar

Sir, I just want to compare my combined encryption compression scheme for medical images with the scheme, the AES followed by JPEG lossless compression. Please try to send me the m-file for the AES followed by JPEG lossless compression of image, if possible. My mail id: neralkar.shruti@gmail.com

Husna Ariffin

Hi sir,
Can u help me to check & correct my code?
Currently I'm doing RSA encryption and decryption using matlab. The image successfully encrypt but I fail to decrypt the image back to get the original image. Hope u can help me sir. If do then please email me at norain.riati.husna@gmail.com
Thanks,

Muhammad Aqeel Aslam

If any one of you had the MATLAB code for encryption and decryption, please email me at maqeelaslam@gmail.com

pradeep kumar

Hi Sir,
I need reversible data hiding in encrypted images by reserving room before encryption matlab code if you have means please send it

Geby Geta Putri

hallo sir. I really need image encryption code for AES/RSA algorithm. can u help me sir?please email me geby13tet@mahasiswa.pcr.ac.id thank you.

kunti Mishra

Sir, I just want to compare my combined encryption compression scheme for medical images with the scheme, the AES followed by JPEG lossless compression. Please try to send me the m-file for the AES followed by JPEG lossless compression of image, if possible. My mail id: kuntimishra@gmail.com.

kunti Mishra

Sir, I just want to compare my combined encryption compression scheme for medical images using AES followed by JPEG lossless compression. Please try to send me the m-file if possible.

Navya Ranganath

Hello sir,I need the code for Image encryption and decryption using AES Algorithm [128 bit] and my mail id is navya.ranganath@gmail.com

Sorry, i skipped my mail-Id.alisharia.17@gmail.com.If you please mail me the code for the image encryption and decryption using AES algorithm, it would be very helpful for ,y project. Thank you.

hema priya

sir please do help me, i do my project for fingerprint images...would you help me in implementation of this code..i get error during run time of this code...please mail me sir priyamayaraman93@gmail.com

Ajay Ayyappanavar

Sir, i am in need cade for encryption and description of an image using the Matlab software. Please send it to my eamil id
ajayahyappanavar@gmail.com

durvesh joshi

Sir Will you please provide us the source code please?
- Regards
its durvesh.joshi@gmail.com

Mohammed Mody


Comment only
10 Jan 2014
Amani
hi sir Alexander
i want matlab code of encryption and decryption picture send it to me on my mail please .
Hassam1191@gmail.com

Karthik Raja

sir can u mail me the code my mail id is karthikraja230gmailcom

Tharani selvan

Sir,Iam in need of source code for image encryption and decryption.Kindly send it to tharaniselvan26@gmail.com

Samrudha Karangale

abc123

:)

Fitri Ana

Sir i want matlab code of this project. please can u mail me to ftr.istiqomah@gmail.com

or, have you done encrypt and decrypt image use rubik's cube algorithm?

so much thanks

Pariwash foushanji

Dear, I need ECDSA and AES image encryption and decryption coding and please eamil me pfoushanji.786@gmail.com
thank you

Pariwash foushanji

Dear, I need ECDSA and AES image encryption and decryption coding .
thank you

kamalpreet Kaur

sir, I need the working code for encryption and decryption of dgital images in Matlab, Please sir provide me with the code at email address- jazz.kaur95@yahoo.com

Pariwash foushanji

Hi Sir , I need RSA and ECDSA key generation procedure,signing procedure and verifying procedure code in matlab please forward me to pfoushanji.786@gmail.com
thank you

Sandeep M

Hi Sir ,
Can you please send me the code for this project or if you have one for image encryption using chaotic map. Please do forward me to sndpkol@gmail.com

Regards,

Hamza Fadhel

if you provide me with correct e-mail address Mr.Ali Taher, i will send you the code

Ali Taher

Sir i want matlab code of this project. please can u mail me to shinyman313.com

Please can you mail me the matlab code for image encryption and decryption

Amani

hi sir Alexander
i want matlab code of encryption and decryption picture send it to me on my mail please
ma7ny@yahoo.com
regards

wiam

chetan sagarnal

Sir i want matlab code of this project. please can u mail me to chetan.sagarnal@gmail.com

shayan shani

sira

hi..i this is sira..i want to encrypt a image..tell me what are the changes to give in the encrypion to encrypt the image...where to give our filename..in this coding.

Alexander Wallar

Hey, The base expansion algorithm is on my MATLAB page. Here is the link:
http://www.mathworks.com/matlabcentral/fileexchange/30035-improved-base-expansion-algorithm/content/baseVecExpand.m

This picture encryption algorithm isn't really that good. I am saying that because I wrote it and I figured out a fallacy in my logic. By using this key system, if somebody intercepting the information already knows the formula for the decryption, their odds at breaking the code increases BECAUSE of the base key system. On the other hand, if the interceptors do not have the formula, the base key system works. This algorithm does not obey a Nash Equilibrium sense of cryptography because there IS a best case scenario for the interceptors.

I will post a new image encryption algorithm involving bases that will work without this fallacy soon.

-Alex

mjkhami

could i ask where is the base expansion algoeithm please?

Alexander Wallar

Thank u very much for your comment. I will make the improvements. Thank you

Sean de

if nargin == 1; %encrypt
elseif nargin==4 %decrypt
else
error; %not disp
end

%{
-There's no reason for the string input since you can decide the method based on whether the keys were input.
-Also, don't use 'disp' for an error, use 'error', that's what it's there for.
%}

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: choatic baker map decryption

Community Treasure Hunt

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

Start Hunting!