I need code for image encryption using Rc4

11 visualizaciones (últimos 30 días)
noor al ebadi
noor al ebadi el 2 de En. de 2017
Editada: DGM el 14 de Jun. de 2022
Please I need code of RC4 to image encryption ..
Thanks.

Respuestas (2)

kareem ahmed
kareem ahmed el 6 de Mayo de 2018
Editada: Image Analyst el 7 de Mayo de 2018

It is a link to full project developed by me to implement RC4 in matlab

https://www.youtube.com/watch?v=qy7mUyTlelY

  17 comentarios
Walter Roberson
Walter Roberson el 26 de En. de 2022
What about decryption?
Sorry, I am not permitted to answer that question in more detail than "Call your decryption routine"
Once you have decrypted to a character vector then
bytes = uint8(decrypted_content);
filename = 'restored_image.tif';
[fid, msg] = fopen(filename, 'w');
if fid < 0; error('Could not open file "%s" for writing because "%s"', filename, msg); end
fwrite(fid, bytes, 'uint8');
fclose(fid)
The extension you use for filename should be the same as the original image file extension.
Mohammed Ali
Mohammed Ali el 27 de En. de 2022
Sorry for ask a lot of questions That's just because i have academic project And thank you so much for your help I use matlab 2013

Iniciar sesión para comentar.


Saad Alzubaidi
Saad Alzubaidi el 14 de Jun. de 2022
Editada: DGM el 14 de Jun. de 2022
RC4 images encrypted code ... MATLAB (video walkthrough, 10 minutes)
https://youtu.be/-uoNW0AVuaQ

Categorías

Más información sobre Encryption / Cryptography en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by