add sha1 hash function
Merge branch 'sha1sum'