Here you can find the source of md5_hh(int C, int B, int G, int F, int A, int E, int D)
public static int md5_hh(int C, int B, int G, int F, int A, int E, int D)
//package com.java2s; //License from project: Apache License public class Main { public static int md5_hh(int C, int B, int G, int F, int A, int E, int D) { return md5_cmn(B ^ G ^ F, C, B, A, E, D); }//from ww w . ja va 2 s .c o m public static int md5_cmn(int F, int C, int B, int A, int E, int D) { return safe_add(bit_rol(safe_add(safe_add(C, F), safe_add(A, D)), E), B); } public static int safe_add(int A, int D) { int C = (A & 65535) + (D & 65535); int B = (A >> 16) + (D >> 16) + (C >> 16); return (B << 16) | (C & 65535); } public static int bit_rol(int A, int B) { return (A << B) | (A >>> (32 - B)); } }