"Name" -> "Eman4FNBO"
"ABC" -> "CBA3dcb"
Explain how this method of encryption works, and try to write these words with my method:
Hello
LoL
123
Puzzling Stack Exchange is a question and answer site for those who create, solve, and study puzzles. It only takes a minute to sign up.
Sign up to join this community"Name" -> "Eman4FNBO"
"ABC" -> "CBA3dcb"
Explain how this method of encryption works, and try to write these words with my method:
Hello
LoL
123
My guesses are
Hello
Olleh5PMMFI
LoL
LoL3mpm
123
3213432
Method
Reverse the word but preserve the order of capitalisation of the original word. Append the length of the word. Append the reversed word shifted by one in the alphabet where the complete capitalisation (or lack thereof) is determined as being "opposite" to the last letter of the original word (not sure how this works for numbers).
Each "encrypted" String consists of 3 parts:
First part:
The original string is written backwards while capitalization is kept in the correct order.
Second part:
Simply the number of characters in the string.
Third part:
The characters of the original string are shifted by one place in the alphabet and the string is reversed. Then they are capitalized depending on the number of characters in the original string (all big for even and all small for odd numbers).
Olleh5pfmmi
LoL gives :
LoL3mpm
123 gives (not sure about this one):
321C432
The method :
Reverse the word an keep the order of capitalisation of the original word, then add the length of the word. Then take the word reversed, shift by one letter in the alphabet, and if the number of letters is even, write the word in upper case, else if the number is odd, write in lower case. And for the numbers, well... Don't care about the case !
Method
Reverse the word while retaining the case sequence. Insert the number of letters in the word. Insert (and reverse the case of) the alphabetic letter that follows the last letter in the word. Keeping the same case of the letter you just inserted for all remaining insertions, go to the next to last letter of the word and insert the letter that follows that in the alphabet. Do the same for the next preceding letter, and so forth, through and including all of the remaining letters. For numbers, I assume lower cases are subscripts.
My guesses are
Hello
Olleh5PMMFI
LoL
LoL3mpm
123
3213$_4$ $_3$ $_2$