I tried to convert FESTUNGDRESDEN to MARIA.
I found a possible encoding that does not satisfy all the specified conditions, since one of the letters requires more than 10 characters.
Manual procedure:. Since both words have only one letter ("R"), I have broken both words as follows
therefore, keeping the code for R as a palindrome
cod(FESTUNGD) = cod*(IA) and cod(ESDEN) = cod*(MA) where cod*() means "reading the code backwards"
Then I divided the task one step further by dividing the codes for E and T
-----------------------------------> FES(T2) (T1)UNGD R ESD(E3) (E2)(E1)N AIRAM <----------------------------------
I think this may be the starting point for the development of a “real” algorithm in the future.
In any case, by doing this, I was able to write down the equations for each encoded char. The only difficult part is “A,” because it is repeated. This leads to the following equation
cod("FES") & (T2) = cod("ESD") & (E3)
Acting in a similar way (further splitting the codes of the letter X in X (1) X (2) X (3)), I rewrote the above equation in part and solved it. Not difficult, but tiring.
Result:
F= 21243 E= 2124 S= 3212 T= 125 U= 1
N = 4
G= 3 D= 4321 R= 33 N= 2 M= 24 A= 212123421234212
I think this solution does not contribute to the development of the algorithm, but I hope it will be for the better love :)
EDIT> FRIENDSHIP
Following the same procedure as above (and the proposal made by Justin L.), I tried the word “friendship”, which is similar to the idea you want to communicate.
In the following table:
f 434 e 44 s 543 t 22 u 1 n 34 g 5 d 3 r 43 i 345 h 122 p 44434
Result
festungdresden 434 44 543 22 1 34 5 3 43 44 543 3 44 34 <----------------------------------------------------- v and backwards is: | | friendship | 434 43 345 44 34 3 543 122 345 44434 ---------------------------------------------->
Note that the equations for "t", "u" and "h" are independent of the rest of the system. Thus, you can choose any unused combination {3,4,5} (of any length) for them, possibly a necklace with 3 characters. For this you can try
t -> 4 u -> 54 which results in h -> 454 all 3 are unused and available codes
Do not forget to upload a photo of the necklace!
Viel Glück!
Edit 1.5 years later
Here are two great photos taken by OP with the results:

