pub fn xor_distance(a: &[u8; 32], b: &[u8; 32]) -> [u8; 32]
Compute the XOR distance between two 32-byte addresses.
Lexicographic comparison of the result gives correct Kademlia distance ordering.