Hard to understand passwords generated

I am developing a tool in which short-pass code is generated. This code will be read for the intended user, so I want to limit the character set to letters that are hard to understand. Both the reader and the listener will be unprepared, so any decision should be transparent to them. I want to be able to just give them the access code and make it extremely unlikely that the letter would be perceived incorrectly.

Firstly, I limited the list of possible characters to those characters that look the same depending on the font, so there is no l or 1, 0 and O, like S and 5, any others that you can think of?

In addition, I want to remove letters that are similar to the sound, so G & D and B & P are missing. Is there a source of generally accepted letters?

I know that this will greatly reduce the number of possible characters, but I need this because of accessibility issues. Also, the person on the receiving side of the code probably won’t know that I am restricting the character set. The fact that I restrict the characters should be transparent to both the person reading the password and the person listening to it.

+3
source share
8 answers

After accepting the suggestions in the other answers, I present an abbreviated list of characters that, it seemed to me, are difficult to mistaken when talking or viewing.

fhikorsuwxyFHKLQRUWXY246789

Special thanks to:

.

0

?

B C D E Echo F G H Hotel I . K Kilo L Lima M N O Q R S Sierra T Tango U V W Whiskey Y Yankee Z Zulu

, "ee" , : , , D, , G, P, T, V, Z

+1

... , , ? , 0 O , ?

, ?

- [M] ike [C] harlie [5] ...

+1

, , , . , " X- , X- "?

, JNKyle, , .

0

:

APJZCHWRTE
apjzchwrte

. , .

0

.

Ruby

charset = %w{ 2 4 6 7 f h q w x y }
password = (0...10).map{ charset.to_a[rand(charset.size)] }.join

"qh4w26wxfq"

0

...

, . . , .

3power41
69topic31

, .

ab-pq-78-de-mn-op

, , ( - , , ).

, .

qw-df-hj-io-23-we

.

0

Source: https://habr.com/ru/post/1755835/


All Articles