Mercurial
comparison benchmark/bun-http-framework-benchmark/src/node/adonis/config/hash.js @ 183:a8976a008a9d
[BenchMark] Added bun bench mark to test seoboe vs other popular benchmarks.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 21:19:08 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 179:8d17f6e6e290 | 183:a8976a008a9d |
|---|---|
| 1 "use strict"; | |
| 2 var __importDefault = (this && this.__importDefault) || function (mod) { | |
| 3 return (mod && mod.__esModule) ? mod : { "default": mod }; | |
| 4 }; | |
| 5 Object.defineProperty(exports, "__esModule", { value: true }); | |
| 6 const Env_1 = __importDefault(global[Symbol.for('ioc.use')]("Adonis/Core/Env")); | |
| 7 const config_1 = require("@adonisjs/core/build/config"); | |
| 8 exports.default = (0, config_1.hashConfig)({ | |
| 9 default: Env_1.default.get('HASH_DRIVER', 'scrypt'), | |
| 10 list: { | |
| 11 scrypt: { | |
| 12 driver: 'scrypt', | |
| 13 cost: 16384, | |
| 14 blockSize: 8, | |
| 15 parallelization: 1, | |
| 16 saltSize: 16, | |
| 17 keyLength: 64, | |
| 18 maxMemory: 32 * 1024 * 1024, | |
| 19 }, | |
| 20 argon: { | |
| 21 driver: 'argon2', | |
| 22 variant: 'id', | |
| 23 iterations: 3, | |
| 24 memory: 4096, | |
| 25 parallelism: 1, | |
| 26 saltSize: 16, | |
| 27 }, | |
| 28 bcrypt: { | |
| 29 driver: 'bcrypt', | |
| 30 rounds: 10, | |
| 31 }, | |
| 32 }, | |
| 33 }); | |
| 34 //# sourceMappingURL=hash.js.map |