When the AESStringEncrypt
after encryption has taken place the encrypted text is base64
encoded. This means that the encrypted text can be displayed in a
If this was not done, then the
encrypted text would not be able to be displayed in a text box as
the non printable ASCII would be ignored.
Using the code shown below it is
possible to detect if an invalid password has been supplied to
decrypt the text.
You need to specify the text to
decrypt, this is done thought the use of the InputText
You also need to specify the Password