I need code for image encryption using Rc4

조회 수: 9 (최근 30일)
noor al ebadi
noor al ebadi 2017년 1월 2일
편집: DGM 2022년 6월 14일
Please I need code of RC4 to image encryption ..
Thanks.

답변 (2개)

kareem ahmed
kareem ahmed 2018년 5월 6일
편집: Image Analyst 2018년 5월 7일

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

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

  댓글 수: 17
Walter Roberson
Walter Roberson 2022년 1월 26일
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 2022년 1월 27일
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

댓글을 달려면 로그인하십시오.


Saad Alzubaidi
Saad Alzubaidi 2022년 6월 14일
편집: DGM 2022년 6월 14일
RC4 images encrypted code ... MATLAB (video walkthrough, 10 minutes)
https://youtu.be/-uoNW0AVuaQ

카테고리

Help CenterFile Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by