Skip to content

Add URL, Punycode and AES modes tools, finish hashing, link RFCs - #26

Merged
dipu-bd merged 2 commits into
mainfrom
claude/project-thread-3fa77a
Dec 2, 2026
Merged

dipu-bd merged 2 commits into
mainfrom
claude/project-thread-3fa77a

Conversation

@dipu-bd

@dipu-bd dipu-bd commented Dec 2, 2026

Copy link
Copy Markdown
Member

Requested by Dipu

What

Two commits:

  1. New and extended Toolbox tools
    • URL encode/decode (/toolbox/url/): RFC 3986 strict, encodeURIComponent style, and form data (+ for space).
    • Punycode (/toolbox/punycode/): whole domain names (münchen.de ⇄ xn--mnchen-3ya.de) or single labels.
    • AES modes (/toolbox/aes/): ECB, CBC, CTR, CFB, CFB-8, OFB, PCBC, IGE, XTS and CCM, with a padding picker (PKCS#7, ANSI X9.23, ISO 10126 byte, zero, none) and the CCM tag size.
    • Hash: every hashlib variant (MD2, Keccak-224/384, more BLAKE2 lengths, RIPEMD-128/256/320) and a SHAKE output length under "Show all".
    • HMAC: keyed BLAKE2 (RFC 7693) at every BLAKE2b/BLAKE2s length.
    • TOTP: HOTP mode (RFC 4226) showing the code for a counter and the next four.
    • Search copy and FAQs for the new pages. Dart snippets that use codec helpers now import package:hashlib/codecs.dart.
  2. RFC links: every "RFC NNNN" on Toolbox pages, project pages and synced docs links to datatracker.ietf.org. It's done at build time, so the library repos don't change. Code and existing links are left alone.

Depends on

bitanon/toolbox#2, which adds the engine ops (punycode, aes, blake2mac, hotp, percent formats, shakeBits, extra hashes). Merge that one first. Until then, the new pages build but show errors.

Checked

  • npm run build passes against the toolbox branch, 38 pages.
  • In Playwright, at 1280 px light and 390 px dark: URL, Punycode, AES (CBC, CTR, CCM and the XTS error), SHAKE at 64 bits, keyed BLAKE2 and HOTP all give the expected output. No console errors and no horizontal overflow.
  • The engine values come from the toolbox PR's known-answer tests (NIST SP 800-38A, RFC 3610, IEEE 1619, RFC 4226, RFC 3492, BLAKE2 KAT files).

Generated by Claude Code

New Toolbox pages for percent encoding, Punycode and AES in ten modes with
a padding picker. The hash tool lists every hashlib variant and can set the
SHAKE output length, the HMAC tool adds keyed BLAKE2, and the TOTP tool adds
HOTP. Snippets that use codec helpers now import package:hashlib/codecs.dart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KmuCbv3a5X5mMTT8iAKym8
Every "RFC 1234" on Toolbox pages, project pages and synced docs now links
to datatracker.ietf.org. The library repos need no changes: synced Markdown
and marked output are rewritten at build time, skipping code and existing
links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KmuCbv3a5X5mMTT8iAKym8
@dipu-bd dipu-bd self-assigned this Dec 2, 2026
@dipu-bd
dipu-bd merged commit 5f57dc3 into main Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants