This commit is contained in:
Eleanor Mao
2024-04-09 16:38:46 +08:00
parent 60438c68e4
commit 141f253400
21 changed files with 1981 additions and 77 deletions

View File

@ -0,0 +1,9 @@
'use strict';
const { createHash } = require('crypto');
module.exports = env => {
const hash = createHash('md5');
hash.update(JSON.stringify(env));
return hash.digest('hex');
};