Added SHA1 encryption