dsh-tool-encoding
base64/url/hex encoding, common hashes, and UUID generation.
base64/url/hex 编解码、常用哈希、UUID 生成。
How to install
dsh plugin add github:omdsh-dev/dsh-tool-encoding About
dsh-tool-encoding English DSH 编码/哈希工具插件 —— UTF-8 文本的 base64/base64url/url/hex 编解码 + 哈希 + UUID。零依赖、零进程、纯函数。 包名:@deepseek-ai/dsh-tool-encoding(独立 bundle,非 monorepo 集成形态);lib/ 产物由仓库内 npm run build(tsc)生成并随仓库提交。 动机 Agent 处理编码/哈希是日常高频操作:查看 API 响应里的 base64 字段(JWT payload)、构造 query 参数、校验文件完整性(sha256)、生成 UUID。当前做法 bash -c "echo ... | base64" 的问题:进程开销、**引号转义地狱**(base64 串嵌进 bash 命令再嵌进 JSON 参数,双层转义错误率极高)、跨平台工具命名不一致(md5 vs md5sum vs shasum -a 256)。 安全模型 无 eval、无 new Function。所有操作是 Buffer/node:crypto/TextDecoder/encodeURIComponent 的纯函数组合: **UTF-8 完整性**:解码用 fatal 模式(TextDecoder('utf-8', { fatal: true })),非法…
Recommendation signals
Meta
- License
- MIT
- Language
- TypeScript
- GitHub stars
- 4
- mo. downloads
- –
- Last push
- 2026-09-10
- Created
- 2026-08-06
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- base64, dsh, dsh-plugin, encoding, hash
Related plugins
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)
davinci-resolve-mcp
samuelgursky/davinci-resolve-mcp
MCP server integration for DaVinci Resolve Studio
ssh-mcp
tufantunc/ssh-mcp
MCP server exposing SSH control for Linux servers via Model Context Protocol.