I'm migrating a software made in Delphi to PHP and I came across a problem in a
fucking Blessed encryption function.
I suffered a bit trying to rewrite the function does the complexity of the code and with the differences in the results.
The function makes use of operators XOR and SHR in Delphi version. The SHR was relatively easy thanks to experience with bitwise operators and how Delphi documentation says that the operator pulls off bits to the right