Properties of cryptographic hash functions will help. so, sending a hash of a value is the best option. as its nearly impossible to find a value for a given hash.
http://en.wikipedia.org/wiki/Cryptographic_hash_function#Properties both server and client using same hash function will solve this. On Sunday, 8 July 2012 01:25:55 UTC-4, Sairam wrote: > > How do you find the intersection of two sets in a secured way? > Which means imagine a situation where there is a client who has got a set > S1={1,2,3}, and there is a server who has got a set S2[{2,3}. Client wants > to find the count of intersection which is |S1 intersection S2| = 2. But, > it doesn't want to give the set S1 directly to the server? How should the > client give the set S1, such that server computes the intersection of S1 > and S2 and gives the count to client. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/WnD7OvJ1BQEJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
