0
0

增加了git功能,但是还未完善

This commit is contained in:
xubing
2025-11-24 17:53:48 +08:00
parent 925024bce1
commit fa1e291bed
682 changed files with 131314 additions and 157 deletions

19
node_modules/sha.js/index.js generated vendored Normal file
View File

@@ -0,0 +1,19 @@
'use strict';
module.exports = function SHA(algorithm) {
var alg = algorithm.toLowerCase();
var Algorithm = module.exports[alg];
if (!Algorithm) {
throw new Error(alg + ' is not supported (we accept pull requests)');
}
return new Algorithm();
};
module.exports.sha = require('./sha');
module.exports.sha1 = require('./sha1');
module.exports.sha224 = require('./sha224');
module.exports.sha256 = require('./sha256');
module.exports.sha384 = require('./sha384');
module.exports.sha512 = require('./sha512');