how can i modify this code to encrypt an image?what is an encryption key?how can i include this key to generate pseudo random sequence?
1 次查看(过去 30 天)
显示 更早的评论
I=double(imread('filename')); [m n]=size(I); for i=1:m for j=1:n r=randi(m,n,255) end end p=xor(I,r)
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Encryption / Cryptography 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!