I'm designing a game with loyalty mechanics similar to Secret Hitler or Battlestar Galactica. In it I have character abilities. One of the abilities will allow a player to choose three players, take their loyalty cards and shuffle them, look at the loyalty cards, and then RETURN them to the correct player. Basically the goal is to have it so the player with this character (and ONLY that player) can look at 3 people and know how many of them are on the bad team and how many are on the good team, without knowing which one is which. Now obviously there are a few problems with this, how can I have it so that who each loyalty card belongs to is hidden from the player using the ability, while still being able to return them to the right players?
Now I have ideas on how to achieve this, but I want to do it in the fewest amount of steps possible, hopefully without adding any extra cards other than the basic loyalty cards.