Opposite operation of XOR
51 次查看(过去 30 天)
显示 更早的评论
a='01101010'
key='10010010'
Cipher=xor(a,key)= 11111000
now how to get 'a' back if i have key & Cipher?
2 个评论
Guillaume
2018-10-19
wht func is used as a reverse of bitxor
The reverse of any xor operation is itself, so the reverse of bitxor is bitxor. This is a fundamental property of xor, applying it twice gets you back where you started.
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!