- Use koa-session, but aes encrypted.
options
will pass to koa-session
const session = require('koa-crypto-session')
const app = require('koa')()
session(app, {
key: new Buffer('8734628jhsifud92'), // default
iv: new Buffer('cvdgfjf1837483jn'), // default
algorithm: 'aes-128-cbc' // default
})
MIT