Main Methods
- use XOR for encryption
- 0 XOR 0 = 0 , 0 XOR 1 = 1 , 1 XOR 0 = 1 , 1 XOR 1 = 0
- Example: 1010 XOR 0010 = 1000
- for encryption:
- preform XOR operation between given data and key
- then we get an encrypted file
- for decrypting
- preform XOR operation between output file and key
- it convert the encrypted file back to the original file