I plan to store foreign account information for my users on my website, aka rapidshare username and passwords, etc... I want to keep information secure, but i know that if i md5 their information, i can't retrieve it later to use.
Base64 is decrypt-able so theres no point using that just plain off. My idea is to scramble the user and pass before and after it gets base64ed that way even after you decrypt it, you get some bullshit looking text if you try to decrypt. Is there a php function that accepts values that will make an unique scramble of a string and de-scramble it later when the value is reinputed?
Any suggestions?
(btw, i've already pretty much secured myself from sql injects by disallowing many symbols in the URI and cleaning out any retreived variables)