Question: we have an app running in bluemix under two different routes:
myapp.shortname.com
myapp.reallyreallyreallyreallylongname.com

but the SSO service does not work with myapp.shortname.com giving an error:

> 
> CWOAU0062E: The OAuth service provider could not redirect the request
>  because the redirect URI was not valid. Contact your system
>  administrator to resolve the problem.
> 
> 
> 

is it possible to support two routes or do we now have to run two NodeJS apps?

Answer: 
```
from string import maketrans

orginalCharacters = "aeiou"
encodedCharacters = "12345"
trantab = maketrans(orginalCharacters, encodedCharacters)

text = "this is string example";
print text.translate(trantab)

```

this will output:

```
th3s 3s str3ng 2x1mpl2

```

Look up the function **translate** for more info
timgeb has a great solution; alternatively, you could also use what's on [this page of the docs](https://docs.python.org/3/library/random.html) and use a `for` loop to assign a random integer to each letter, and store it in a dictionary (see `randint`).

This would be more helpful if you want it to change every time you run your program.