i'm asking for a more clever encoding algorithm to retrieving game stats which generates a shorter and more clear password
for example i have this information's to be saved via a short CODE
Health 0 - 99
Armor 0 - 99
Ammo 0 - 999
Shells 0 - 99
Rockets 0 - 9
Weapon1 0 - 1 // picked or not (boolean)
Weapon2 0 - 1
Weapon3 0 - 1
Weapon4 0 - 1
Level 1 - 3
what i did :
an inline example of above information's : 99 99 999 99 9 1111 3
the encoded result with base64 as String : OTkgOTkgOTk5IDk5IDkgMTExMSAz
the encoded result with base64 as Decimal : Y2PPp2MJ0ZcD (good but long yet)
what i know is to handly encoding some part of the code for example for boolean part, there is only 16 states, 0000 0001 0010 0011 ...etc
so it can be reduced to only 16, information could be reduced to: 99 99 999 99 9 16 3
then result will be still same : Y2PPp2MJEAM= (ogly and long)
i used this website for decoding and encoding