I'm sceptical about identifying this via a hash, because
* Do you know how likely a hash collision is? (i.e. a situation where two different configurations yield the same hash)
* If a hash collision cannot be ruled out, this code provides absolutely no sane way to debug such issues.