Open evanpipta opened 8 years ago
Session cookies should use a longer, secure random token
This is one method but it's async, do I really want that? Not sure: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
There's also a secure-random package on npm which is synchronous: https://www.npmjs.com/package/secure-random
Session cookies should use a longer, secure random token
This is one method but it's async, do I really want that? Not sure: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
There's also a secure-random package on npm which is synchronous: https://www.npmjs.com/package/secure-random