u/StenSoftin r/C_Programming • Recommends
On “When is the XOR useful time”
Encryption. Pretty much all ciphers use xor. It has some neat features for creating Feistel ciphers.
Parity/checksum. RAID-5 uses xor to calculate parity. CRC uses xor to calculate checksums.