Vipin Vipin - 2 years ago 105
Android Question

Encrypt and decrypt a string in android

Hi I want to encrypt a string in android inorder to store and later for showing I have to decrypt it. Is it possible to do md5 hashing or any other hashing in android.
Please provide me an example.

Answer Source

Read this article here->(How_to_encrypt_and_decrypt_strings.rhtml). It is pretty much what you want. The technique there uses .getInstance("AES"); If you want MD5 just replaces the AES with MD5.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download