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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Hash Problem Business Central

(1) ShareShare
ReportReport
Posted on by 142

Hello to everyone.
I had a problem with hashing data. I wanted to hash some Text combination of some fields, and signed with pfx certificate. I must import Hash data into xml : IICSignature tag 1106.Capture1.PNG
but I have problem because my hash function only return me maximum 128 characters, not 512 (specification needs 512).
This:
pastedimage1667916463189v1.png
I worked on NAV with dotnet but I don't have idea how this lines of code convert  to BC:
capt2.PNG

Can someone help me to find solution?  Post

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,417 Super User 2026 Season 1 on at

    hi

    look this

    www.youtube.com/watch

    DAniele

  • Suggested answer
    Amit Profile Picture
    2,563 on at

    Hi,

    Refer the link

       

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    asa Profile Picture
    66 on at
    Read InStream as byte and convert byte to hex and you should have your expected result.

    I used to read every instream byte then convert every byte to binary, binary to int and then int to hex for every byte u should have smth like 5F or FF or 00.
     
    Maybe there is a better way to do it, but i coludnt find smth else

    Thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,858 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,101 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 707 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans