public uint Maj(uint x, uint y, uint z) { uint val = (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z))); return val; }