diff options
author | Joe Robinson <joe@lc8n.com> | 2015-12-05 16:51:18 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2015-12-05 16:51:18 +0000 |
commit | fd6eb3e43597fa1856f7eb896a7f7575cf9606af (patch) | |
tree | 3ec2b6e98ba2072c26268d16c9b805df8a1af518 | |
parent | 11482616af23ab319aa47d6dcc2986194e992f90 (diff) |
Make the password hash
-rw-r--r-- | search.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/search.js b/search.js new file mode 100644 index 0000000..5d93e74 --- /dev/null +++ b/search.js @@ -0,0 +1,6 @@ +var cookie = require('cookie'); +var crypto = require('crypto'); + +var hash = crypto.createHash('sha256').update('password').digest('hex'); + +console.log(hash); |