Info
This question is closed. Reopen it to edit or answer.
How to solve this issue?
1 view (last 30 days)
Show older comments
I am doing encryption of an image. In between, there is a step to do bitxor. For that one input is decimal values and the other is a hexa decimal value. I cannot round the decimal values. What is the other option to do bitxor?
Y1=dec2hex(bitxor(hex2dec(plain_1), hex2dec(Y11)));
plain_1 =
Columns 1 through 7
5.5910 4.5032 5.9233 5.6765 5.7605 4.4733 5.8600
Columns 8 through 14
5.8760 5.4787 5.4357 4.6258 5.2075 5.1449 5.5539
Columns 15 through 16
4.0129 4.0672
Y11 =
E5
B1
CD
6E
8C
8B
8E
49
E0
C9
87
F5
0B
DE
C6
22
How to do bitxor for the above inputs?
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!