Switched to node-sha1 v1.0.1 to avoid using Buffer class