A Hashing Method for Fast Set Operations