2. The method of claim 1 , wherein each one of the directed graphs in the set of directed graphs comprises an input finite-state machine that models computation for detecting a singly encoded null-byte that is encoded according to the corresponding one of the encoding methods in the set of encoding methods.
2. The method of claim 1 , wherein each one of the directed graphs in the set of directed graphs comprises an input finite-state machine that models computation for detecting a singly encoded null-byte that is encoded according to the corresponding one of the encoding methods in the set of encoding methods. 3. The method of claim 2 , wherein generating the output finite-state machine includes generating a plurality of composite finite-state machines by convolving each of the input finite-state machines by applying at least one of the encoding methods in the set of encoding methods to each of a plurality of transition characters in the input finite-state machine.