public static List<BigInteger> embeddedSelectorToPartitions(String selector,String type,DataPartitioner partitioner) throws PIRException {
  List<BigInteger> parts;
  int partitionBits=partitioner.getBits(type);
  if (partitionBits > 32) {
    int hashedSelector=KeyedHash.hash("aux",32,selector,"MD5");
    parts=partitioner.toPartitions(hashedSelector,PrimitiveTypePartitioner.INT);
  }
 else {
    parts=partitioner.toPartitions(selector,type);
  }
  return parts;
}

public static List < BigInteger > embeddedSelectorToPartitions ( String selector , String type , DataPartitioner partitioner ) throws PIRException { List < BigInteger > parts ; int partitionBits = partitioner . getBits ( type ) ; if ( partitionBits > 32 ) { int hashedSelector = KeyedHash . hash ( "aux" , 32 , selector , "MD5" ) ; parts = partitioner . toPartitions ( hashedSelector , PrimitiveTypePartitioner . INT ) ; } else { parts = partitioner . toPartitions ( selector , type ) ; } return parts ; }
method to convert the given selector into the extracted biginteger partitions
