Calculate HMAC in OTA Setting Messages that used OTA PIN | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through June 03, 2020 ⬆ |
◄ ► |
Author | Message | |||
Json Smith New member Username: Json Post Number: 1 Registered: 07-2019 |
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 |
Is there anyone who guide me about this issue? Thank you in advance. |