Given a string, if it is even, break the string into 2 even parts, then reverse the parts to get the "reversencoded" string.
onomatopoeia -> tamonoaieopo
If the string is not of even length, then do not change the position of the middle character, and reverse the letters before and after the middle character.
pizza -> ipzaz
discord -> sidcdro
Limitations: The input will not contain any other characters other than AlphaNumeric characters. i.e. No newlines/whitespaces.
General contest, shortest code in each language will be winning. Good luck!
btw: i made up the word reversencoded, i'm fairly sure such a form of "encryption" doesnt exist