If you just want to generate random words (I use this from time to time) (note: do not use for cryptographic purposes!), you can just do `shuf /usr/share/dict/words | head -1` on most linux systems (since most have a dictionary installed; else you might have to apt install wamerican or something), but of course that doesn't take language frequency into account like OP has. To select a word length you could do `grep ^....$ /usr/share/dict/words | shuf | head -1` with the number of dots being the number of characters.
shuf has flag to make it use an alternative source for randomness. If we pass in a secure source of randomness such as /dev/urandom would shuf work for crypto purposes?
Potentially, but since it's not advertised as such (at least I don't see it in the man page) I would not rely on it without someone actually checking the source code properly.
Here it is since paragraph selection (triple click) doesn't exist in tap form on mobile. Added a few newlines because why not.
If you just want to generate random words (I use this from time to time) (note: do not use for cryptographic purposes!), you can just do `shuf /usr/share/dict/words | head -1` on most linux systems (since most have a dictionary installed; else you might have to apt install wamerican or something), but of course that doesn't take language frequency into account like OP has. To select a word length you could do `grep ^....$ /usr/share/dict/words | shuf | head -1` with the number of dots being the number of characters.