路由表化:新增路由匹配器、中间件与表驱动分发,迁移店铺设置/员工/货盘路由
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2b9cb825be
commit
e082069f55
14 files changed
+525
-197
No files matched your search
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
const crypto = require('node:crypto');
|
||||
const sha = s => crypto.createHash('sha256').update(s).digest('hex');
|
||||
const derive = (p, s) => crypto.scryptSync(p, s, 64).toString('hex');
|
||||
module.exports = { sha, derive };
|
||||
Reference in new issue
Block a user