#!/usr/bin/env bash # remap - Byte substitution transform (bijective) # v1.4.0 (2025-09-02) # # Applies bijective byte-level substitution using a # built-in mapping table. Every input byte maps to # exactly one output byte. Deterministic and reversible. # # Usage: remap [options] output # -t FILE Use alternate substitution table # -r Reverse mapping # # Part of the rf0 analysis toolkit. # Gregory Alan, 2025 # See also: # /home/greg/bin/align https://gregoryalan.com/home/greg/bin/align # /home/greg/bin/shift https://gregoryalan.com/home/greg/bin/shift