• 5,807,438
    REGISTERED
  • 45,652
    ONLINE NOW

Building an Android App? Protect Your User’s Private Application Data

Building an Android App? Protect Your User’s Private Application Data

A good developer is always concerned about the security of his/her users. Revealing your app’s private data to the public is generally a bad thing, and should almost always be avoided. As such, there are various ways to strengthen your app’s privacy, and every new method should be evaluated. Privacy protection is especially important with Android applications, as there are frequent reports of app-related phishing and similar shady activities.

You application’s private data can now be stored a bit safer, thanks to XDA Forum Moderator Jonny. He provides a Java class that protects your app’s data using the SHA-512 hashing algorithm to convert a string into a raw bit format. After that, it’s converted into hex strings. In plain English, the data sent to the application will be quite safe. The class provided by Jonny also adds a salt to the hash function, which makes your users’ private data even more secure.

If you are developing apps that use sensitive data such as logins, passwords, and other personal information, make your way to the original thread and consider enhancing the security of your project with this class.

_________
Want something on the XDA Portal? Send us a tip! -- Join us for xda:devcon 2014!
Advertisment
Advertisement

XDA TV: Most Recent Video

Buy/Sell on Swappa

  • Nexus 5 (Unlocked) buy | sell
  • Galaxy Note 3 (T-Mobile) buy | sell
  • HTC One M7 (Verizon) buy | sell
  • Galaxy S 5 (Unlocked) buy | sell
  • Nexus 7 2013 buy | sell
  • Swappa is the official marketplace of XDA