1. A method, comprising: applying a hash function to information associated with a substring of a sequence of bytes to generate a key value; applying the key value to a hash table; and comparing the information associated with the substring to corresponding information associated with a substring of a byte pattern stored in the hash table that corresponds to the key value.