I have a strong random value that looks something like 4?1V*8G?ۑL??
(it is actually even worse as some of the characters were changed to ?
when pasting it here).
I can convert it to a hexidecimal value such as c8e40ef3764af28d06e25020255a51ed
, but it is still pretty long.
To make it shorter, I am thinking of using numbers and the full (English) alphabet instead of only 0 to 9 and a to f.
EDIT. From a technical prospective, I think I will need a total of 64 characters to encode the values for minimum length which means 0-9
, a-z
, A-Z
, plus two more such as *
and !
. I could exclude some of the letters, but will need to use other characters such as %
for each I exclude. This will result in something like jKTB*BbNswbkXJpjy7!4X3
. Is this worse that something like c8e40ef3764af28d06e25020255a51ed
? If I go this route, which characters should be used?
Questions:
- Should both lower and upper case letters be used? This will shorten the string, but might make it more difficult to type.
- Should any characters be excluded? For instance, 0 (zero) and O (letter o) might be mistaken as well as 1 (one) and l (letter L), and
U
can accidentally appear obscene. - Should it be formatted with hyphens, and if so, how?
- Any other recommendations?