The hamming distance between two strings or vectors of equal length is the number of positions at which the corresponding symbols are different.
Is a distance constraint, not to be confused with the Edit distance, term which is used to describe the Levenshtein distance