Here you can find the source of shiftRightN(int[] block, int n)
static void shiftRightN(int[] block, int n)
//package com.java2s; //License from project: Open Source License public class Main { static void shiftRightN(int[] block, int n) { int i = 0; int bits = 0; for (;;) { int b = block[i]; block[i] = (b >>> n) | bits; if (++i == 4) { break; }/* ww w . j a v a2 s .c o m*/ bits = b << (32 - n); } } }