From fd6eb3e43597fa1856f7eb896a7f7575cf9606af Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Sat, 5 Dec 2015 16:51:18 +0000 Subject: Make the password hash --- search.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 search.js (limited to 'search.js') 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); -- cgit v1.2.3