Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
7
Impact
~243 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Apr
19
comment How secure is passing a MAC to Python's random.seed before using random.choice to generate a MAC?
Thanks! Indeed there probably are. In this case, I'm trying to pick randomly from a custom alphabet. I thought of doing ALPHABET[MAC mod ALPHABET_SIZE], but it seems like some elements in the alphabet will get picked over others. I'll post the problem I'm trying to solve in a separate question.