Skip to content

Instantly share code, notes, and snippets.

@tavy315
Forked from davidgilbertson/md5-hash-in-node.js
Created December 25, 2016 20:30
Show Gist options
  • Save tavy315/62542dab27da3545a56a88bc609e7484 to your computer and use it in GitHub Desktop.
Save tavy315/62542dab27da3545a56a88bc609e7484 to your computer and use it in GitHub Desktop.
const fileHash = crypto.createHash('md5').update(fileContents).digest('hex');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment