Text this: Evaluation of encrypted matching criteria using homomorphic encryption based FSM