[−][src]Function tox_packet::toxid::xor_checksum
pub fn xor_checksum(lhs: [u8; 2], rhs: [u8; 2]) -> [u8; 2]
Calculate XOR checksum for 2 [u8; 2].
Used for calculating checksum of ToxId.
https://zetok.github.io/tox-spec/#tox-id , 4th paragraph.