vr-shopxo-plugin/tests
Council 2e9f3182ee fix(phase4.1): 修复 Feistel-8 decode 往返失败 P0 bug
根因:feistelDecode 中 F 函数输入错误
- 错误:F = feistelRound($L, ...)
- 正确:F = feistelRound($R, ...)

标准 Feistel 解码原理:
- 编码: L_new=R, R_new=L^F(R)
- 解码: L_new=R^F(L), R_new=L(这里 L 是编码后的 L,即当前 L)
- 因此 F 输入应该是 R(编码时的输入),不是 L
2026-04-23 11:47:23 +08:00
..
phase4_1_feistel_test.php fix(phase4.1): 修复 Feistel-8 decode 往返失败 P0 bug 2026-04-23 11:47:23 +08:00