Add support for scrypt / Android 4.4

I did some clean-up and added support for Android 4.4. I also confirmed some trial cases with the python version of the script.