init
This commit is contained in:
13
config/encryption.js
Normal file
13
config/encryption.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import env from '#start/env';
|
||||
import { defineConfig, drivers } from '@adonisjs/core/encryption';
|
||||
const encryptionConfig = defineConfig({
|
||||
default: 'gcm',
|
||||
list: {
|
||||
gcm: drivers.aes256gcm({
|
||||
keys: [env.get('APP_KEY')],
|
||||
id: 'gcm',
|
||||
}),
|
||||
},
|
||||
});
|
||||
export default encryptionConfig;
|
||||
//# sourceMappingURL=encryption.js.map
|
||||
Reference in New Issue
Block a user