mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-19 20:51:42 +00:00
before applying redux
This commit is contained in:
7
lib/key-gen.js
Normal file
7
lib/key-gen.js
Normal 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')
|
||||
}
|
||||
Reference in New Issue
Block a user