Hi
How to encrypt a string in Navision and then pass it as parameter and then decrypt in c#
Thanks
Hello Hannes,
If I encrypt my parameter with your code in C/AL next how can I decrypt it in C#?
Thanks,
Simone
Hi
But how i will decrypt in c#
Thanks
HI,
Yes - Encryption Management is an alternative. Just bear in mind that you have to activate Encryption for the whole application to be able to use this Codeunit.
This might create problems in other areas.
Hi Stefano
There is 824 Codeunit . But how i will decrypt in c#.
Secondly the no of encryption characters is very large
Thanks
if you want native C/AL, there's the Encryption Mangement codeunit that has native functions for encrypting and decrypting data in NAV. If you're on old versions, you don't have this codeunit and you should reference assembiels like in the before suggested post.
Hello,
This could be done in various ways.
One way could be to encrypt using SHA. I've described the part in NAV here:
www.hannesholst.com/.../hash-hash-baby-secure-hash-algorithm-in-nav-365bc-and-a-little-more
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,493 Most Valuable Professional
nmaenpaa 101,148