fix the checksum() function for crypto API of node > v.10
another way to fix checksum() for node v.0.10
Merge pull request #4 from kurmanka/master

Fix the checksum() function for crypto API of node > v.10 [@kurmanka]