Info

此问题已关闭。 请重新打开它进行编辑或回答。

How to solve this issue?

1 次查看(过去 30 天)
Darsana P M
Darsana P M 2018-4-5
关闭: MATLAB Answer Bot 2021-8-20
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 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by