web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Business Central Data Encryption Algorithm?

(0) ShareShare
ReportReport
Posted on by 30

Hi All,

I need to encrypt data sent in API calls to integration with e-commerce platform from business central.

From their end they are using AES algorithm for encryption. SO is it possible to use AES based encryption in business central?

If not possible can we decrypt the data encrypted in business central from other end ? if Yes, What is the algorithm used in in-built encryption in business central?

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    You can use System.Encrypt(YOURTEXT), but in these cases maybe could be better to call an Azure Function that encrypts the data with the desired algorhytm and then you send the encrypted value to your external service.

  • Pranavi Kota Profile Picture
    30 on at

    But I think calling Azure function for encryption and decryption of text before actual API calls to external service could lead to some latency as these API call frequency is high in a time-frame.

    Is it possible to use this System.Decrypt(YOURTEXT) from external .Net application?

    Thank you for the help..

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Yes possible but on SaaS you cannot execute external .NET apps.

  • Vlad Alexandru Sandor Profile Picture
    5 on at

    Hi,

    You can try and use codeunit 1266 - Cryptography Management for BC15 or 1266 "Encryption Management" for previous

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans