summaryrefslogtreecommitdiff
path: root/tests/test_server.py
AgeCommit message (Collapse)Author
24 hourschange keys to 78 bit random tokens and humanize the resultJohn Turner
Instead of picking random words via a random choice function, we generate a 13 * key_length bit random int as the key. We humanize the key by splitting it up into 13 bit segments and using the 13 bits as an index into the word list. This allows us to store the keys in binary form which is faster and uses less space.
4 daysembed wordlist into sourcesJohn Turner
4 daysadd test_server.pyJohn Turner