Same mapping logic as your Python snippet. One grid only. Click "Apply XOR" to transform columns by XOR-preshuffle.
State: Original (no preshuffle)