You could use an MD5, or SHA1 hash, but you can't get it back at the other end - only compare results. And it's not really any more secure than just sending it in plain text.
You could also use base-64 encoding, which is reversible, but again, totally insecure.