Hello every1, I am now working on a program which is someting related to IMS. I want the Server to send back a nonce to the Client. In order to get nonce, I tried using the code from this site.
==> http://forums.sun.com/thread.jspa?threadID=595626 -Use java.security.SecureRandom: --byte[] nonce = new byte[16]; --Random rand; --rand = SecureRandom.getInstance ("SHA1PRNG"); --rand.getBytes (nonce); But the problem is I could not use rand.getBytes as the class Random doesn't provide methot getbytes(). Is there any other way to get or generate nonce? please help. Thanks a lot. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

