I tried writing a simple constexpr based string encryption class, but the problem was that it did not work.
Then, when going online I found source codes that did very