fbpx
Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC: Crypt and other "Missing or incomplete Features"

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12353

  rjpajaron's Avatar Topic Author rjpajaron Offline Posts: 249
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
--

Rene Pajaron

Please Log in or Create an account to join the conversation.

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12354

  FFF's Avatar FFF Offline Posts: 819

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

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

Please Log in or Create an account to join the conversation.

Last edit: by FFF.

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12355

  rjpajaron's Avatar Topic Author rjpajaron Offline Posts: 249
Looks like I will not be missing VO then....
I am enjoying reading X# Runtime Documentations > Examples right now...
--

Rene Pajaron

Please Log in or Create an account to join the conversation.

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12356

  Chris's Avatar Chris Offline Posts: 1641
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?
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12357

  rjpajaron's Avatar Topic Author rjpajaron Offline Posts: 249

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?


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...

--

Rene
--

Rene Pajaron

Please Log in or Create an account to join the conversation.

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12361

  Chris's Avatar Chris Offline Posts: 1641
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.
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

Crypt and other "Missing or incomplete Features" 1 month 3 weeks ago #12362

  rjpajaron's Avatar Topic Author rjpajaron Offline Posts: 249
I will
--

Rene Pajaron

Please Log in or Create an account to join the conversation.

Crypt and other "Missing or incomplete Features" 1 month 1 week ago #12464

  ic2's Avatar ic2 Offline Posts: 594
Hello 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?


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.

See www.xsharp.info/forum/private-product/13...ccess-continued#9679 (private forum only)

Dick

Please Log in or Create an account to join the conversation.

  • Page:
  • 1