Update sha1.js

another shorter version of the sha1 with raw_output argument based on real php