How xor the integer with binary value?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
if true
k=rand(192,1);
Q=32142;
q=dec2bin(Q);
K=bitxor(k,q);
end
2 comentarios
Jan
el 8 de En. de 2018
What is the wanted result for e.g. k=0.12345 and Q=32142? Why do you convert Q to a binary string?
Respuestas (0)
Ver también
Categorías
Más información sobre Encryption / Cryptography en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!