How xor the integer with binary value?
16 次查看(过去 30 天)
显示 更早的评论
if true
k=rand(192,1);
Q=32142;
q=dec2bin(Q);
K=bitxor(k,q);
end
2 个评论
Jan
2018-1-8
What is the wanted result for e.g. k=0.12345 and Q=32142? Why do you convert Q to a binary string?
回答(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!