Conversation
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
|
@olleolleolle thanks! |
|
What do you intend by “printable visible”? |
|
BTW, I think |
“Printable” comes from the ascii spec here I include everything in that range except for white space happy to use a different name!
sure - my proposal is just an idea for what is a common need for me and I thought maybe others. To generate a secret string with letters, numbers, and symbols. For example to meet password requirements. |
A method to generate from more or less the entire "typable" space.
This is the sort of thing I might use if I need to generate a random password for a user.
I tried to name it in order of increasing specificity. maybe the name should be nicer to type.
I think the regex in the test is correct.
I implemented it using
alphanumericinstead ofchooseto avoid repeating code.Let me know what you think!
https://www.ascii-code.com/
see also: #3