-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ascii_printable_visible #28
base: master
Are you sure you want to change the base?
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
alphanumeric
instead ofchoose
to avoid repeating code.Let me know what you think!
https://www.ascii-code.com/
see also: #3