6:50 PM
@Patriot I don't know how I missed that item, but yeah... Um, you just generate a crypto secure random in a range [0..N) where N is the alphabet size using a well seeded PRNG, then you select a character from the alphabet using the returned index. Loop until enough characters have been generated.
docs.python.org/3/library/secrets.html#module-secrets has a link to the system random number generator, which is fine if you don't want super high or multi-threaded performance.
Ah, it is better explained here. You can use the
choice
method as well, in all probability, so you can directly include a string representing the alphabet.
« first day (3666 days earlier) ← previous day next day → last day (1015 days later) »
Transcript for
Jul24
Jul '2126
Jul27
The Side Channel
Mostly randomly generated noise. – crypto.stackexchange.com