Created
June 10, 2013 11:11
-
-
Save FL4TLiN3/5748040 to your computer and use it in GitHub Desktop.
さくっとhexed MD5が取りたいときに。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// node digest.js string_to_digest | |
var crypto = require('crypto'); | |
var name = process.argv[2]; | |
var hash = crypto.createHash('md5').update(name).digest("hex"); | |
console.log(hash); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment