Lots of new goodies hidden inside NAV2018

I needed to hash some passwords in NAV. I turned to my blog (via a trip to Google) and found my old article on the subject, great!

That was a good solution for NAV2016 and NAV2017, but with the War-On-DotNet, I didn’t want to add more DotNet usage to NAV2018. So I remembered the Cal-Open-Library where codeunit 1266  has received a lot of attention from different people, and I was right, codeunit 1266 has the same functionality already available:

Line 117 is the NAV2018 version and the rest is the pre-NAV2018 solution 🙂

So remember to go explore the NAV2018 source, lots of useful functionality has been added.