Calculate HMAC in OTA Setting Messages that used OTA PIN

Calculate HMAC in OTA Setting Messages that used OTA PIN SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Calculate HMAC in OTA Setting Messages that used OTA PIN « Previous || Next »
Author Message
Json Smith
New member
Username: Json

Post Number: 1
Registered: 07-2019
Posted on Wednesday, July 03, 2019 - 05:07 am:   

Hi everybody
In order to send messages that contain OTA Settings (WBXML Messages), to secure the message you can set the pin (userpin, networkpin). This message security section is called HMAC and Must use the following formula (as far as I know):
HMAC (M = HMAC-SHA-1(K, A))
I tried to calculate the HMAC of my message using this formula. I have already prepared my binary message (WBXML is considered as Data) and for example, I used the 1234 for userpin as the Key.
But my computing output is not equal to the output calculated by the Nowsms Application.
Does anyone know how to calculate the HMAC in OTA Setting Messages by using pin code (userpin, networkpin)?

Thank you in advance.
Json Smith
New member
Username: Json

Post Number: 2
Registered: 07-2019
Posted on Monday, July 08, 2019 - 04:29 am:   

Is there anyone who guide me about this issue?

Thank you in advance.

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics