SHA1 for streams and files