DevKnife — JWT / Myers Diff / Cron / Crypto Workbench

DevKnife — JWT / Myers Diff / Cron / Crypto Workbench
Open in Preview Auto-launching isolated sandbox…
Open in Preview ⬇ Download .html

About DevKnife — JWT / Myers Diff / Cron / Crypto Workbench

DevKnife is a 4-in-1 offline developer utility suite combining a JWT inspector, a Myers LCS code diff viewer, a 5-field Cron schedule simulator, and a Web Crypto codec workbench in one HTML file.

The JWT module decodes header and payload claims, checks token expiration timestamps, and performs real cryptographic HMAC-SHA256 signature verification and token re-signing via the native Web Crypto API.

The Diff module computes unified line-by-line additions and deletions between two configuration or code blocks with instant patch copying.

The Cron module parses standard 5-field cron expressions into human-readable rules and simulates the next 8 exact execution timestamps in both UTC and local time.

Running entirely offline inside OneHTML's zero-trust sandbox, it ensures production JWT secrets, API tokens, and private configs never touch an external server.

DevKnife(JWT / 代码 Diff / Cron 全栈瑞士军刀)将全栈开发者最高频使用的四大核心调试工具集结于单一零依赖 HTML 文件中。

JWT 模块不仅支持 Header 与 Payload 实时解码和过期时间(exp)校验,更基于浏览器原生 Web Crypto API 实现真实的 HMAC-SHA256 签名验证与在线编辑重签发。

代码 Diff 模块采用经典 Myers LCS 最长公共子序列算法,实时生成双栏文本或配置文件的逐行增删对比视图(Unified Diff)并支持一键复制 Patch。

Cron 模块支持标准 5 段式定时表达式解析,自动推演并列出未来 8 次精确触发执行的 UTC 与本地时间;同时附带 SHA-256/512 哈希、UUID v4、Base64URL 与时间戳转换器。

在 OneHTML 零信任隔离沙盒中 100% 离线运行,生产环境 JWT 密钥、Token 与私密配置绝不触网外传。

Key Highlights

  • Web Crypto HMAC-SHA256 JWT Signature Verifier & Re-Signer
  • Unified Myers LCS Line-by-Line Code & Config Diff Engine
  • 5-Field Cron Next-8-Runs Simulator, SHA-256/512 & Epoch Tools
  • 基于原生 Web Crypto API 的 JWT 解码、过期检测与 HS256 签名校验重签
  • Myers LCS 逐行代码/配置差异对比(Unified Diff)与补丁复制
  • 5 段式 Cron 未来 8 次触发时间推演 + SHA-256/512/UUID/时间戳工具箱
A little conversation

Be the first to leave a little thought.

Loading the good stuff…