So, what to do? In the past, I’ve used an excel spreadsheet to generate a random string of “n” characters, selected from a set of characters that do not include the “confusing” ones (Oo01lIiL and so on). The “randomness” was defined by how long I felt like leaning on the F9 key that day. After creating the string, I would then try to get my client to NOT write down the string – this almost never works, but it’s worth a try.

For today’s story, I decided to improve on this a bit, and re-coded it in python. This was a 5 minute script (as most of mine are), so if you see a way to improve or neaten this up in any way, please – don’t be shy – use our comment form.

via ISC Diary | How do you spell “PSK”?.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Learn More)