1. A method, comprising: receiving, by a processor, an electronic stream of data comprising packets of data; generating, by the processor, electronic data records based on the packets of data; retrieving, by the processor, an electronic representation of a hash function; generating, by the processor, an electronic tabulation in response to hashing the electronic data records using the electronic representation of the hash function; generating, by the processor, a vector from the electronic tabulation, the vector associated with heads of corresponding keys; generating, by the processor, a twisted hash function by twisting the heads associated with the vector; and storing, by the processor, the twisted hash function in electronic association with the electronic data records.