Mod512() private static méthode

private static Mod512 ( uint x ) : uint
x uint
Résultat uint
        private uint Step()
        {
            uint num = HC128Engine.Mod512(this.cnt);
            uint result;

            if (this.cnt < 512u)
            {
                this.p[(int)((UIntPtr)num)] += this.G1(this.p[(int)((UIntPtr)HC128Engine.Dim(num, 3u))], this.p[(int)((UIntPtr)HC128Engine.Dim(num, 10u))], this.p[(int)((UIntPtr)HC128Engine.Dim(num, 511u))]);
                result = (this.H1(this.p[(int)((UIntPtr)HC128Engine.Dim(num, 12u))]) ^ this.p[(int)((UIntPtr)num)]);
            }
            else
            {
                this.q[(int)((UIntPtr)num)] += this.G2(this.q[(int)((UIntPtr)HC128Engine.Dim(num, 3u))], this.q[(int)((UIntPtr)HC128Engine.Dim(num, 10u))], this.q[(int)((UIntPtr)HC128Engine.Dim(num, 511u))]);
                result = (this.H2(this.q[(int)((UIntPtr)HC128Engine.Dim(num, 12u))]) ^ this.q[(int)((UIntPtr)num)]);
            }
            this.cnt = HC128Engine.Mod1024(this.cnt + 1u);
            return(result);
        }
 private static uint Dim(uint x, uint y)
 {
     return(HC128Engine.Mod512(x - y));
 }