1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

CREATE_MODE(1/2)

This commit is contained in:
Rokt33r
2015-10-14 15:20:16 +09:00
parent 9a5e4b3f54
commit 9d2b64e82b
11 changed files with 226 additions and 70 deletions

7
lib/keygen.js Normal file
View File

@@ -0,0 +1,7 @@
var crypto = require('crypto')
module.exports = function () {
var shasum = crypto.createHash('sha1')
shasum.update(((new Date()).getTime()).toString())
return shasum.digest('hex')
}