How to create a MD5 hash of a word in android? This is one of the most useful things in android. We can use the MD5 algorithm to create a hash of any string we want. Here is the code for doing that. Check the LogCat for output. Please leave your valuable comments on this post.