I'd like to implement a feedback mechanism in my application--basically, a score. The requirements are:

  1. A total exists, and can be read
  2. A user can add his score to the total
  3. A user cannot add a second score, but could change his original score, again updating the total by removing (subtracting) the original score, and adding the new one.
  4. It is impossible to determine what a given user's vote was

It seems that this borders on (or even overlaps) cryptography theory, but I haven't been able to find anything that would address this. Does anyone have any specific algorithms that would address this? Or even additional search vectors I could use to pursue it?

Edit
Report