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 个)

类别

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