omdsh-dev/dsh-tool-encoding

插件 ⭐ 3 MIT codingtools

DSH编码/哈希工具插件:base64/base64url/url/hex编解码、md5/sha1/sha256/sha512哈希、UUID生成,零依赖

catalog 简介:DSH 编码/哈希工具插件:base64/base64url/url/hex 编解码、md5/sha1/sha256/sha512 哈希、UUID 生成,零依赖

安装

DSH Agent
    │ ctx.tools.register()
    ▼
src/index.ts(Cordis 插件入口 + action 分发 + 独立校验)
    │
    ▼
src/encoding.ts
    ├── b64Encode/b64Decode — 标准 base64(严格校验)
    ├── b64UrlEncode/b64UrlDecode — base64url(canonical 无 padding,解码兼容)
    ├── urlEncode/urlDecode — component 语义(URIError 包装)
    ├── hexEncode/hexDecode — UTF-8 字节 hex(fatal 解码)
    ├── digest — 白名单哈希
    ├── newUuid — crypto.randomUUID()
    └── validateUnicode/assertInputBytes/decodeUtf8Strict — 校验器

omdsh-dev/dsh-tool-encoding 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。