sha1.c now usable. modularized it more