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

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,397 on at

    hi

    look this

    www.youtube.com/watch

    DAniele

  • Suggested answer
    Amit Profile Picture
    2,559 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

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 3,151

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans