-
Notifications
You must be signed in to change notification settings - Fork 12
Client Server flow
Nitzan Tomer edited this page Dec 11, 2017
·
1 revision
- Client sends init request to server
- Server returns location of words file (words file containing only words)
- Client downloads file
- Client sends a report request containing a list of words (sentence, paragraph, whatever)
- Server receives said request and updates it's "spam dictionary"
- Client finds indices for the words in the message
- Client then randomly shuffles the order of these indices and adds more random indices and then sends the list of indices
- Server returns a vector per index
- Client sums up the vector and sends the real value back to the server
- Server checks whether or not the value represents a spammy message