Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Asymmetric Encryption inside Business Central

(0) ShareShare
ReportReport
Posted on by 47

Hi Experts,

I need to implement Asymmetric Encryption/Decryption in Business Central for an Integration Project. I found enough support for Symmetric Encryption and its working.

But I am unable to find Asymmetric Encryption functions inside BC. I appreciate if somebody can share knowledge related to this.

Thanks 

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Asymmetric Encryption inside Business Central

    I need to update my answer. The wrapper around RSACryptoServiceProvider was yet approved, so you can do that in AL now:

    github.com/.../README.md

  • Bilal Haider Profile Picture
    Bilal Haider 47 on at
    RE: Asymmetric Encryption inside Business Central

    Stefano Demiliani if you are saying then I believe there is not. I will mark it as solved.

    Thank you very much.

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Asymmetric Encryption inside Business Central

    There’s nothing for this out of the box at the moment.

  • Bilal Haider Profile Picture
    Bilal Haider 47 on at
    RE: Asymmetric Encryption inside Business Central

    Stefano Demiliani thanks for suggestion. The problem is that I need to send/receive requests that are encrypted/decrypted in Realtime and calling azure functions on each call might cause performance issues.

    I will go with that if I am not able to find something inside Business Central.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 Most Valuable Professional on at
    RE: Asymmetric Encryption inside Business Central

    I suggest to use Azure Functions for this. 

    System.Security.Cryptography.RSACryptoServiceProvider
    can help on implementing asymmetric encryption and you can easily call the function from AL.

  • Bilal Haider Profile Picture
    Bilal Haider 47 on at
    RE: Asymmetric Encryption inside Business Central

    Thanks Jarrod. 

  • Jarrod Case Profile Picture
    Jarrod Case on at
    RE: Asymmetric Encryption inside Business Central
    [quote user="Bilal Haider"]

    Hi Experts,

    I need to implement Asymmetric Encryption/Decryption in Business Central for an Integration Project. I found enough support for Symmetric Encryption and its working.

    But I am unable to find Asymmetric Encryption functions inside BC. I appreciate if somebody can share knowledge related to this.

    Thanks 

    [/quote]

    Hi Bilal Haider ,

    I am not sure this is entirely possible. I am keen to see the end result of this thread when it's concluded.

    I believe this would be better raised with the Microsoft Support team / BC Dev team.

    I hope this has answered you questions

    Thanks JC

    CLICK YES - if I have answered your question today, to help other community members know this is resolved.

    Follow Me/Subscribe - https://www.youtube.com/@learnbusinesscentral 
    Connect with me on linkedin: https://www.linkedin.com/in/jarrodcase/ 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans