Added SHA1 hashing