converting locations into passwords