OK I see. I wanted to have $name be spacesless, then generate the phone password. The transliteration is just a rough estimate of phone pads (ABC == 2, etc) that creates phone number passwords. So there isn't a huge need for security, thanks though.
There's more than one way to do it, but only some of them actually work.