mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 18:29:15 +03:00
25 lines
786 B
JavaScript
25 lines
786 B
JavaScript
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const Env_1 = __importDefault(global[Symbol.for('ioc.use')]("Adonis/Core/Env"));
|
|
const config_1 = require("@adonisjs/core/build/config");
|
|
exports.default = (0, config_1.hashConfig)({
|
|
default: Env_1.default.get('HASH_DRIVER', 'bcrypt'),
|
|
list: {
|
|
argon: {
|
|
driver: 'argon2',
|
|
variant: 'id',
|
|
iterations: 3,
|
|
memory: 4096,
|
|
parallelism: 1,
|
|
saltSize: 16,
|
|
},
|
|
bcrypt: {
|
|
driver: 'bcrypt',
|
|
rounds: 10,
|
|
},
|
|
},
|
|
});
|
|
//# sourceMappingURL=hash.js.map
|