Added SHA-1 implementation (not tested, not used yet)