diff options
author | John Turner <jturner.usa@gmail.com> | 2025-09-23 21:11:01 -0400 |
---|---|---|
committer | John Turner <jturner.usa@gmail.com> | 2025-09-23 21:48:01 -0400 |
commit | 83040f948f6e8264fb427b5d9cf338f46a906fe1 (patch) | |
tree | d0efab55a60a10c638df2e5b4194a060c9a85c38 /tests/meson.build | |
parent | 2aa14b931f1a4fa7f465537b5310217b84615203 (diff) | |
download | pypaste-83040f948f6e8264fb427b5d9cf338f46a906fe1.tar.gz |
change keys to 78 bit random tokens and humanize the result
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.
Diffstat (limited to 'tests/meson.build')
0 files changed, 0 insertions, 0 deletions