Update sha1.js

utf8_encode function not exists by default.
Merge pull request #126 from imuller/patch-1

Update sha1.js