You do realize that won't work?
There are a couple of reasons:
1) If the code is exactly as you show, then the output of the encryption method will be all '*' characters - and you cannot under any circumstances decrypt that to get the original input.
2) If you have replaces the characters you change them to to '*' so we can't "break" your encryption, then 1) goes away - but it still won't work. Suppose I type "abc" in the text box, and you change 'a' to 'c', 'b' to 'd', and 'c' to 'e'? You will replace my 'a' with a 'c':
abc ==> cbc
my 'b' with a 'd'
cbc ==> cdc
and my 'c' with an 'e':
cdc ==> ede
When you decrypt that, you can't tell that the 'e's should be different characters...
And besides, this isn't good encryption - it's a basic substitution cypher, and they print magazines full of those every month so little old ladies can do them in their spare time...
Encryption shouldn't work on characters, it should work on bytes - and it should use a key-based algorithm instead of a fixed substitution! :laugh: