Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 596763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:12:25+00:00 2026-05-13T16:12:25+00:00

I am trying to Sip Register and I get the challenge from the server.

  • 0

I am trying to Sip Register and I get the challenge from the server.

So I need to use the MD5 algorithm on the nonce and then send that to the server to authenticate.

I have come across two examples of MD5 encryption and I have tried both and each one gives a different string back to me, so I was wondering which one is the correct one to use?

Thanks in advance

EDIT:

Ok thanks for the commons codecs.

I have edited it because I have to encode the nonce value I get back from the server with my username and password to send it back.

So it is a particuler type of encoding for SIP registration, can anyone point to a tutorial on how to do this? Or have any hints?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:12:26+00:00Added an answer on May 13, 2026 at 4:12 pm

    Both are incorrect. Your conversion from the byte array to a hexadecimal string is broken. I highly recommend using http://commons.apache.org/codec/ from the ASF which can do this for you:

    Hex.encodeHexString(yourByteArray);
    

    But if you’re using commons-codec, you can also do this:

    String sessionid = "1ddfdf99abfe5690dc1243875";
    String md5HexString = DigestUtils.md5Hex(sessionid);
    

    and you’re done. Neat, isn’t it? 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get a SIP servlet chat server working, together with the textclient
In my DoWork() function I register with our sip server. Then I have to
I am trying to get a user's SIP address so I can use a
trying to get some data from a plist into the MWPhotoBrowser sample app. Any
Trying to find some simple SQL Server PIVOT examples. Most of the examples that
I am trying to get the active network adapter's IP address, so that I
I'm currently trying to port a SIP stack library (pjSIP) to the PSP Console
I'm trying to set a page that displays the visitor's IP. All the methods
Trying to add a new element to the DOM but I get all sorts
Trying to setup an SSH server on Windows Server 2003. What are some good

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.