Paramters thru Hyperlink

Hi

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

Thanks

Answers

  • SanderDkSanderDk Posts: 320Member
    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, but use forum instead, perhaps other people have the same question, or better answers.
  • jsshivalikjsshivalik Posts: 67Member
    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 Posts: 320Member
    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, but use forum instead, perhaps other people have the same question, or better answers.
  • jsshivalikjsshivalik Posts: 67Member
    Hi SanderDk

    Can u provide some example in Navision how to encrypt

    Thanks
  • SanderDkSanderDk Posts: 320Member
    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, but use forum instead, perhaps other people have the same question, or better answers.
  • jsshivalikjsshivalik Posts: 67Member
    Hi SanderDk

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

    Thanks
  • SanderDkSanderDk Posts: 320Member
    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, but use forum instead, perhaps other people have the same question, or better answers.
  • RockWithNAVRockWithNAV Posts: 878Member
    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.