In certain embodiments, a key is received, wherein a value is capable of
being generated from the key and an input string corresponding to a
packet. Intermediary values are computed based on substrings of the key
and substrings of the input string. The intermediary values are stored in
a data structure, wherein the stored intermediary values are capable of
being used to generate the value.