Minor sanity check in generateHash()
Removes console.log
Merge pull request #4 from felipecsl/master

Minor sanity check in generateHash()