How can XOR be used in encryption and what type of encryption is this ?

As we know, XOR is a logical operator which can take 2 inputs and process one output. Given that two parties want to exchange this would be very useful. If A has message 1010 which may stand for "hello" and wants to communicate with party B.we can use an exchange key which is agreed between A and B such as : 0001 and the XOR operator.1010 (message from A)0001 (agreed key between A and B) (XOR)1011 (answer)XOR is symmetric encryption whereby only one key is used to encrypt and decrypt.

AA

Related Computing A Level answers

All answers ▸

What is the difference between simplex, half duplex and full duplex?


How does a HDD (Hard drive disk) work?


What is the difference between HTML, CSS and JavaScript


Represent the denary number 5.625 as an unsigned binary fixed point number with three bits before and five bits after the binary point.