Chicago might have one of the highest murder rates in the nation, but its digital security is considered to be the safest in the world, according to a survey.