z-tokens
z-tokens copied to clipboard
Option to sort all patterns by entropy
Hi,
z-tokens patterns
tends to produce a long list of different tokens, and as a user, my goal is to pick pareto-optimal token by multiple criterias in that table.
Namely, something that will be sufficiently readable, not too long/hard to type, not too confusing-looking, and with high-enough entropy.
These goals are in conflict, so --entropy-min/--entropy-max or similar options are not very useful, since regardless of what I decide to pick as --entropy-min, it's quite possible that none of the options presented there will meet other criterias.
So ideally, I'd like to have a list, sorted by non-subjective criteria, like "entropy", where e.g. all options around 80-bits are all right next to each other, so that I can easily visually compare subjective parameters like length/readability/visual-confusion/etc between those, to pick the best combination.
But at least with current z-tokens 0.3.0 release, there is no option to do that - patterns are presented in alphabetical order, which is not useful for the purpose above.
It is of course possible to sort the list using e.g. unix "sort" tool, but it's a complicated table with many fields, so I think maybe some simple option like z-tokens patterns --sort-by entropy
would be a nice addition?
Don't think I'll make a PR for it myself, unfortunately. Thanks.