Hamming distance

The Hamming distance between two strings of equal length is the number of positions where the two strings differs.