At 11:31 AM -0700 4/15/07, Lennox Jacob wrote:
>Kindly advise.

An editfield may not give you back exactly the same bytes that you 
put in, and that is especially true if it contains binary data as it 
would after being translated by XOR.

Try a simpler test like this...


s = EncodeDecode(EditField1.text)

EditField2.text = EncodeDecode(s)

And even that might not show you what you expect if the original text 
used anything but ASCII encoding, since the text encoding would get 
lost in the XOR process. Doing XOR twice gets you the same bytes back 
but you'd still have to set the text encoding if that was important 
to you.

Regards,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to