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" 26 Dec 2019 13:35 #12353

  • rjpajaron's Avatar

  • rjpajaron

  • Topic Author


  • Posts: 250
  • 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" 26 Dec 2019 15:21 #12354

  • FFF's Avatar

  • FFF


  • Posts: 995
  • 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 (X# 2.5b; Xide 1.25; W8.1/64 German)

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

    Last edit: by FFF.

    Crypt and other "Missing or incomplete Features" 26 Dec 2019 15:25 #12355

  • rjpajaron's Avatar

  • rjpajaron

  • Topic Author


  • Posts: 250
  • 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" 26 Dec 2019 17:50 #12356

  • Chris's Avatar

  • Chris


  • Posts: 2109
  • 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" 27 Dec 2019 00:27 #12357

  • rjpajaron's Avatar

  • rjpajaron

  • Topic Author


  • Posts: 250
  • 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" 27 Dec 2019 11:03 #12361

  • Chris's Avatar

  • Chris


  • Posts: 2109
  • 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" 27 Dec 2019 14:51 #12362

  • rjpajaron's Avatar

  • rjpajaron

  • Topic Author


  • Posts: 250
  • I will
    --

    Rene Pajaron

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

    Crypt and other "Missing or incomplete Features" 07 Jan 2020 20:29 #12464

  • ic2's Avatar

  • ic2


  • Posts: 749
  • 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