Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registerKeys() {
const keys = this.config.get('app.keys', ['DAZE_KEY_1']);
const algorithm = this.config.get('app.algorithm', 'sha1');
const encoding = this.config.get('app.encoding', 'base64');
this.keys = new Keygrip(keys, algorithm, encoding);
}