>>>>>>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.
>
I don't have the ID of the message (it has been almost 10 years since I got his code). And I don't care how he created this function (btw, "born" is a poor choice of a word :) ). His function works for me.
>Here is what I found
>
>
https://www.berezniker.com/content/pages/visual-foxpro/vfp-implementation-cipher-encryption>
>So it does seem to be the same algorithm just in VFP code.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham