1. A method for classifying a uniform resource locator (URL), the method comprising: programming a bloom filter with a first URL; extracting a second URL from a network packet stream; determining a set of hash strides for the second URL; and querying the bloom filter with each hash stride of the set of hash strides; wherein: the bloom filter is configured to identify a URL category; and the first URL is pre-determined to belong to the URL category.