You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//For a comprehensive understanding of the XMX mixer and its applications, you can refer to Jon Maiga's detailed article: "The construct of a bit mixer."
86
86
x^=x>>15;
87
-
// Multiply by a high-entropy constant for mixing
88
-
x*=0x2C1B3C6D;
89
-
// Another XOR shift to spread the bits
87
+
x*=0x85ebca6b;
90
88
x^=x>>13;
91
-
// Another multiplication with a different high-entropy constant
92
-
x*=0x297A2D39;
93
-
// Final XOR shift for additional diffusion
94
-
x^=x>>15;
89
+
x*=0xc2b2ae35;
90
+
x^=x>>16;
95
91
returnx;
92
+
93
+
94
+
//// Initial XOR shift to mix high and low bits
95
+
//x ^= x >> 15;
96
+
//// Multiply by a high-entropy constant for mixing
97
+
//x *= 0x2C1B3C6D;
98
+
//// Another XOR shift to spread the bits
99
+
//x ^= x >> 13;
100
+
//// Another multiplication with a different high-entropy constant
0 commit comments