I am preparing to port our VO apps to X#, using the long holiday as my preparation stage.
I am reading the X# Runtime Docs and on "X# Runtime" chapter, I read that "Crypt" is not yet supported.
I have a lot of this in our apps and I already thinking of creating a function that does the same thing.
Anyone?
Rene
Crypt and other "Missing or incomplete Features"
Crypt and other "Missing or incomplete Features"
Rene,rjpajaron wrote:I am preparing to port our VO apps to X#, using the long holiday as my preparation stage.
I am reading the X# Runtime Docs and on "X# Runtime" chapter, I read that "Crypt" is not yet supported.
I have a lot of this in our apps and I already thinking of creating a function that does the same thing.
Anyone?
Rene
it's not so difficult: Start Xide, make a new X#runtime app, enter "Start.prg" and type ? Crypt("Karl", "Rene") hit F5
No compile error, and you'll see in console: CÜ#ó
So, Docs are not quite up2date
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Crypt and other "Missing or incomplete Features"
Looks like I will not be missing VO then....
I am enjoying reading X# Runtime Documentations > Examples right now...
I am enjoying reading X# Runtime Documentations > Examples right now...
Crypt and other "Missing or incomplete Features"
Hi Rene,
It's not missing anymore, but due to the different nature of VO and .Net (8-bit vs unicode string), the results will not always be compatible to that of VO. What are you using Crypt() against, is it binary data or text?
It's not missing anymore, but due to the different nature of VO and .Net (8-bit vs unicode string), the results will not always be compatible to that of VO. What are you using Crypt() against, is it binary data or text?
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Crypt and other "Missing or incomplete Features"
Text. I mostly used this to encrypt password and other fields that stores config. Although its uses is superfluous because I already implemented table encryption with ADS. But I keep it there...Chris wrote:Hi Rene,
It's not missing anymore, but due to the different nature of VO and .Net (8-bit vs unicode string), the results will not always be compatible to that of VO. What are you using Crypt() against, is it binary data or text?
--
Rene
Crypt and other "Missing or incomplete Features"
Rene,
OK, you should have no issues in X# then. If it's not working as you would expect when you make the port, just please make a post here with details.
OK, you should have no issues in X# then. If it's not working as you would expect when you make the port, just please make a post here with details.
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Crypt and other "Missing or incomplete Features"
Hello Rene,
See https://www.xsharp.eu/forum/private-pro ... inued#9679 (private forum only)
Dick
What I miss in this discussion is that there is a solution: we had the same issue earlier and Chris solved that by adding the VO compatible CryptRaw() function. We use that one only in X# as otherwise VO crypted data won't decrypt using an X# program.rjpajaron wrote:I am preparing to port our VO apps to X#, using the long holiday as my preparation stage.
I am reading the X# Runtime Docs and on "X# Runtime" chapter, I read that "Crypt" is not yet supported.
I have a lot of this in our apps and I already thinking of creating a function that does the same thing.
Anyone?
See https://www.xsharp.eu/forum/private-pro ... inued#9679 (private forum only)
Dick