implement SHA1 and MD5 password hashing in Android