use 128 byte passwords

This commit is contained in:
Girish Ramakrishnan
2016-06-17 09:46:07 -05:00
parent 7e57f31d14
commit 2017d668a9
4 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ var assert = require('assert'),
var TOKENS_FIELDS = [ 'accessToken', 'identifier', 'clientId', 'scope', 'expires' ].join(',');
function generateToken() {
return hat(256);
return hat(8 * 64); // TODO: make this stronger
}
function get(accessToken, callback) {