public class TestfuzzId { public static void main(String[] args) { int id = 123456; int p = id^Integer.MAX_VALUE-1024; int s = (p+1024)^Integer.MAX_VALUE; System.out.println(p+","+s); } }
输出2147359167,123456
可以简单满足混淆,和恢复的需求