trip hash generator for FieldTrip module