Skip to Content
0
Former Member
Mar 08, 2008 at 09:00 AM

How to encrypt and decrypt?

231 Views

Hi, experts,

I need to encrypt a string and decrypt the encrypted string .

Action:

1. create three input fields(password_input, encrypted_input, decrypted_input) and two button (encrypted_button and decrypted_button) in the view of the WDA.

2. run the application.

3. When type the password in the password_input, clicking the encrypted_button, the encrypted data is put in the encrypted_input.

4. When click the decrypted_button, the encrypted data is decrypted and put it to the decrypted_input.

I don't know how to complete the 3 and 4 step. I need some code or example for coding the encrypting and decrypting.

Thanks a lot.

Best regards,

Tao