(retrolaunch) SHA1 cleanups
Move SHA-1 hashing to hash.c