Or you can use the ascii value of each alfanumeric chararcter...
This way you dont need to list all values prior to encode them...
In my password textbox, wich unfortunatly I don't have the cs file anymore, I used a very similar to taximania aproach..
declaring the alphabet backwards-....