So I am working on a program intended to demonstrate a very simple way of encrypting any text. My goal is for it to work in a way (for example) that A= 32dc9w B= wwkjn21 C=32kjnd#4 and so on... so when a user types in ABC and click the button (labeled encrypt), there output is "32dc9wwwkjn2132kjnd#4".

I need to be able to do this pretty much with all upper case letters, lower case letters, numbers, and the symbols that follow the numbers.

I have thought of using the find and replace method, but it does not work the way I want it to. Instead, the program will continue encrypting forever and goes into a runtime error. I can think of very long and complex ways to do this, but I am guessing I am not the first one to attempt this project. I search the forum, but failed to find anything closely related to this.

Any code demonstrations, examples, and / or tips would be very appreciated. Thank you.