
HSM Kit
io.github.hsm-kit由 GitHub 账号 hsm-kit 发布v0.1.0更新于 Oct 24, 2026
Local-first Base64, Luhn, key-component XOR, and synthetic ISO-0 PIN block tools.
概览
HSM Kit 提供的本地 stdio MCP 服务器,提供 Base64、Luhn、密钥分量异或与合成 ISO-0 PIN 块工具,面向支付与加密测试。
- 可以做什么
- 对 Base64 数据进行编码与解码
- 计算并校验 Luhn 校验位
- 用异或合并密钥分量
- 生成用于测试的合成 ISO-0 PIN 块
- 适用场景
- 适合在编写支付、HSM 或卡数据测试用例时,让助手在本机快速完成格式转换和测试向量生成,无需离开本地环境。
- 运行要求
- 通过 npx 从 npm 包在用户机器上以本地进程运行,仅支持桌面端,无远程端点。未声明任何认证、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 HSM Kit,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
HSM Kit - Professional Online Encryption Toolkit
🔐 Professional encryption & key management tools, 100% client-side, secure & reliable
📖 Introduction
HSM Kit is a professional online encryption toolkit designed for developers, testers, and security engineers in finance, payment, and security domains. It provides 44+ tools covering HSM key management, payment security, PKI certificates, and cryptographic algorithms, all running entirely in the browser.
Core Values
- Security First - 100% client-side computation, keys and sensitive data never leave your device
- Professional & Complete - 44+ tools covering HSM key management, payment security, PKI certificates, and cryptographic algorithms
- Ready to Use - Open browser and start working, supports PWA installation, works on Mac/Windows/Linux/mobile
- Open Source - Code is publicly auditable, meets financial industry compliance requirements
✨ Features
🛠️ Tool Modules
🔐 Encryption/Decryption Tools (5)
🔑 Key Management Tools (8)
🔐 PKI Tools (2)
💳 Payment Security Tools (21)
🧰 General Tools (9)
📚 Knowledge Base
HSM Kit includes a built-in knowledge base (/guides/) with 42 in-depth technical articles in each of English and Chinese, covering encryption algorithms, payment security, HSM key management, and more. Articles are cross-linked and directly connected to corresponding tools.
Knowledge Base Features
- 📝 Markdown Rendering - Code blocks, tables, internal links
- 🔗 Tool Integration - Direct links to related tools and articles
- 🌍 Bilingual - English and Chinese, 43 articles each, fully translated
- 📖 Table of Contents - Right-side TOC navigation with scroll highlighting
- 🔍 Search - Full-text search across articles
📁 Project Structure
🚀 Quick Start
Online
Visit https://hsmkit.com to use all tools directly.
PWA Install
After visiting the website, your browser will prompt "Install HSM Kit". Click to install to desktop.
Local Development
Build for Production
When a release changes tool-page functionality, refresh only the 44 tool-page dates without rewriting homepage, legal, or guide dates:
Note: Chrome is required for building. The
prebuildscript automatically installs it vianpx puppeteer browsers install chrome.
Type Checking
Testing
🏗️ Tech Stack
⚡ Performance
🔐 Security
- Client-side Encryption - All crypto operations run in browser using Web Crypto API and crypto-js
- Zero Data Transfer - Keys and sensitive data never leave your device
- Open Source - All code is publicly auditable
- Compliance Ready - Meets financial industry security requirements
- CSP Protection - Content-Security-Policy prevents XSS attacks
- Production Logging - Debug logs silenced in production, only errors recorded
♿ Accessibility
HSM Kit follows WCAG 2.1 AA standards with comprehensive accessibility support:
- Skip-to-content Link - Keyboard users can quickly jump to main content
- ARIA Labels - Navigation, buttons, form elements have proper aria-labels
- aria-live Regions - Dynamic results and errors are announced by screen readers
- Keyboard Navigation - All interactive elements support Tab/Enter/Space
- Focus Management - Clear focus indicators and logical focus order
- Semantic HTML - Uses role="banner", role="main", role="alert" etc.
🌍 Internationalization
HSM Kit supports 6 languages with 100% translation coverage:
Translation files are located in src/locales/ with lazy loading for optimal performance.
🌍 Deployment
HSM Kit can be deployed to any static hosting service:
Search Discovery
- Set
BING_SITE_AUTHin the build environment to the verification value supplied by Bing Webmaster Tools. - After Cloudflare Pages finishes deploying, open GitHub Actions → Submit URLs to IndexNow → Run workflow. Leave the URL empty to submit the sitemap, or enter one changed URL. Local submission remains available through
npm run submit:indexnow. - AI-readable resources are published at
/llms.txt,/ai/tools.json, and each guide'sindex.mdURL.
🤝 Contributing
Welcome to submit Issues and Pull Requests!
- Fork this repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Submit a Pull Request
Adding New Knowledge Base Articles
- Create
{slug}.mdinsrc/content/guides/en/(andzh/for Chinese) - Update
src/data/guides/en.jsonandzh.jsonwith metadata - Add routes in
prerender.config.ts - Add URL in
public/sitemap.xml - Run
npm run buildto verify
📄 License
MIT License - See LICENSE file
🔗 Links
⚠️ Note: This tool is intended for testing and development environments. Please ensure compliance with relevant security standards before using in production.
Made with ❤️ by HSM Kit Team
来源:README.md,提交 43161b4
工具
0版本历史
1- v0.1.0最新Sep 23, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分