Byte-identical TOC re-encryption: the only open-source RPF9 write path #26
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/nineforge0--forge9#26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@nineforge0 on GitHub · 2026-11-27 18:36 UTC · original
forge9 is the only public tool that can re-encrypt the RPF9 TOC
Every other RPF9 tool is read-only or extract-only. forge9 implements the full encrypt/decrypt round trip:
Proven capabilities
repack --verify) reopens the output and compares every entry against the sourceThe cipher
128-bit block cipher with 16 input S-boxes, 16 T-tables, and 16 per-key output S-boxes. forge9 inverts each T-table round by solving the 32×32 linear system over GF(2), precomputed as byte lookup tables (
InverseRound).What this enables
See docs/rpf9_format.md §Encryption and docs/repack_validation.md for the full technical reference.