Marketplace móvil para negocios locales mexicanos. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React Web) - apps/mobile (Expo/React Native) - apps/mcp-server (Claude MCP Server) - apps/whatsapp-service (WhatsApp Business API) - database/ (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
20 lines
517 B
JavaScript
20 lines
517 B
JavaScript
'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');
|