>>>>>No. It is your conclusion, not mine. The C# function works for what I want.
>>>>
>>>>If it doesn't produce the same result with the high ascii values as VFP function does, it means it's not the exact reproduction of VFP code. There could be no different reading of that.
>>>
>>>Do you and your colleague use Sergey's function?
>>
>>We're using Cipher50.fll. I suspect that this Sergey's function is a VFP translation of C++ code. I haven't looked close if that's indeed the case or Sergey's code is a bit different.
>
>I rest my case :)
See my updated message. Please post the message ID of when you found that Sergey's function so we can know for sure how was it born.
Here is what I found
https://www.berezniker.com/content/pages/visual-foxpro/vfp-implementation-cipher-encryptionSo it does seem to be the same algorithm just in VFP code.
If it's not broken, fix it until it is.
My Blog