I'm using the AES Encryption object as well as the blowfish object. I have three editboxes: one for encryption key, one to enter the text the user wants to encrypt, and one that is to display the encrypted text. There's two buttons. One next to the editbox for the key which uses the Random Key feature in the Blowfish object to create a random 16-character key (as the AES object only supports up to a 16-character key).
When you press the random key button it creates a random key and does display the random key text in the editbox. My issue is when I go to encrypt what is typed in the second editbox and press the Encrypt button it does not display the encrypted text in the third editbox. Btw, both second and third editboxes are set as multiline boxes.
For the editbox where it's supposed to display the encrypted text I have tried doing this a few ways. One way was to set the text the user types in as Alterable String B. Then, set Alterable String C to use the AES encrypted object, which would pull the data from Alterable String B as to what to encrypt. Then in the last editbox set the text to Alterable String C. If I do it that way the app crashes.
The other way is to just set the text in the third editbox to use the AES object which would encrypt the get text of the second editbox and don't set the text in the second textbox as an alterable string. That doesn't crash the app but it doesn't display anything in the third text box.