Hashing functions on Android devices