Filter löschen
Filter löschen

How xor the integer with binary value?

1 Ansicht (letzte 30 Tage)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G am 8 Jan. 2018
Kommentiert: Jan am 8 Jan. 2018
if true
k=rand(192,1);
Q=32142;
q=dec2bin(Q);
K=bitxor(k,q);
end
  2 Kommentare
Birdman
Birdman am 8 Jan. 2018
Why would you want that?
Jan
Jan am 8 Jan. 2018
What is the wanted result for e.g. k=0.12345 and Q=32142? Why do you convert Q to a binary string?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Encryption / Cryptography finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by