private int RotateRight(int x, int y) { return ((int) ( ((uint) x >> (y & (32-1))) | (uint) (x << (32 - (y & (32-1)))) ) ); }