Skip to content

Instantly share code, notes, and snippets.

@davidgilbertson
Created December 24, 2016 01:14
Show Gist options
  • 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