Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Created December 24, 2016 01:14
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save davidgilbertson/803af4e44b0d98c6124ad0e670c9c0dd to your computer and use it in GitHub Desktop.
Save davidgilbertson/803af4e44b0d98c6124ad0e670c9c0dd 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