public static U64 computeEntryCookie(int userCookie,String name){
  int prime=211;
  int flowHash=2311;
  for (int i=0; i < name.length(); i++) {
    flowHash=flowHash * prime + (int)name.charAt(i);
  }
  return AppCookie.makeCookie(StaticFlowEntryPusher.STATIC_FLOW_APP_ID,flowHash);
}

public static U64 computeEntryCookie ( int userCookie , String name ) { int prime = 211 ; int flowHash = 2311 ; for ( int i = 0 ; i < name . length ( ) ; i ++ ) { flowHash = flowHash * prime + ( int ) name . charAt ( i ) ; } return AppCookie . makeCookie ( StaticFlowEntryPusher . STATIC_FLOW_APP_ID , flowHash ) ; }
this function generates a random hash for the bottom half of the cookie
