Paramters thru Hyperlink

Hi

Is it possible to encrypt parameters that are passed thru Hyperlink & then decrypt in c# Application

Thanks

Answers

  • SanderDkSanderDk Member Posts: 502
    yes, you can use any encryption you would like to.
    You use need the encryption key/pattern both in NAV and i C#
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • jsshivalikjsshivalik Member Posts: 67
    Hi SanderDk

    Can u pls provide me some example . I have string field . I want to encrypt in Navision and then decrypt in c#

    Thanks
  • SanderDkSanderDk Member Posts: 502
    When you are talking data passed thru hyperlink.
    Often you have serveradress[::port]/key=[key]?Value=[Value]
    Before sending the url you can encrypt "value"
    eks. "HelloWorld" then run it against a md5 encryption after that the value will be "68e109f0f40ca72a15e05cc22786f8e6"

    Then
    serveradress[::port]/key=[key]?Value=HelloWorld
    Would be
    serveradress[::port]/key=[key]?Value=68e109f0f40ca72a15e05cc22786f8e6

    And vola you have encrypt you value to something you can decrypt very easy in C# :smile:
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • jsshivalikjsshivalik Member Posts: 67
    Hi SanderDk

    Can u provide some example in Navision how to encrypt

    Thanks
  • SanderDkSanderDk Member Posts: 502
    If you go search this forum or google you will find a lot of example of this.

    ex: https://forum.mibuso.com/discussion/58457/nav-2013-md5-hash-generator
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • jsshivalikjsshivalik Member Posts: 67
    Hi SanderDk

    I encrypt in Navision then how i will decrypt in PHP/C# . Is there any simple solution

    Thanks
  • SanderDkSanderDk Member Posts: 502
    Hi jsshivalik,
    You should google that rather than asking about C# and PHP in a NAV forum.
    Again there a a lot of solution out there.
    For help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.
  • RockWithNAVRockWithNAV Member Posts: 1,139
    I never used this but yes its possible but you need to give a bit of your time in research on this.
Sign In or Register to comment.