Tag: String text

How to get the SHA1 hash sum of a String in Android

Here's one piece of code that comes very handy in some situations, just copy and paste this to get the SHA1 hash sum from a text String. The Hash is returned as an hex encoded human readable String, see below for an example of use: Here's how to use this, just an example: The code … Continue reading How to get the SHA1 hash sum of a String in Android