Added code for last commit and more configurable variables. New SHA-1 implementation from original project