• TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 days ago

    I wonder if there’s a way to prevent people from even knowing that two different votes came from the same user.

    What I outlined above should prevent anyone from knowing two different votes came from the same user… without specifically trying that user’s id on each. That’s what the salt (the comment/post id) is for.

    • Redkey@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      I was thinking of a variable-length hash, but if we use a fixed length (which I acknowledge the term “salt” does imply), then I agree.