Working sha1 encrypt