NikitolProject 8ac25125ab feat(06-01): add XOR header obfuscation and buffer-based serialization to format.rs
- Add XOR_KEY constant (FORMAT.md Section 9.1)
- Add xor_header_buf() for cyclic 8-byte XOR encode/decode
- Add write_header_to_buf() for buffer-based header serialization
- Add read_header_auto() with XOR bootstrapping detection
- Add serialize_toc() and read_toc_from_buf() helpers for TOC encryption
- Add parse_header_from_buf() internal helper
- Add 6 new unit tests (XOR round-trip, magic change, auto-detect, buf helpers)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 02:17:59 +03:00
Description
No description provided
4.9 MiB
Languages
Rust 65.5%
Shell 20.4%
Kotlin 14.1%