[JDEV] sha1 algo

Iain Shigeoka iainshigeoka at yahoo.com
Wed Apr 24 12:12:04 CDT 2002


I'll make a shameless plug for my book, Instant Messaging in Java: the
Jabber protocols.  :)  It contains a full explanation of Jabber
authentication and the Java code to implement it.  Amazon doesn't have it
listed yet but Barnes and Noble does (www.bn.com) as well as directly
through the publisher, Manning Www.manning.com

You might also be able to go to your local bookstore and just browse through
it to get the info (it just got printed so I'm not sure how far its been
distributed).

-iain shigeoka

On 4/24/02 7:30 AM, "lolly" <lalitas at rediffmail.com> wrote:

> could u please guide me on how to use it?
> or where exactly is the code for it located inside jre?
> 
> On Wed, 24 Apr 2002 David Waite wrote :
>> lolly wrote:
>> 
>>> while sending username and password for authentication is it
>>> necessary to send the password in the encrypted format?
>>> if yes then i think the jabber server expects the password to be
>>> encrpted using sha1 algo. where can i get this algo(source code
>>> in java) from?
>> 
>> It is included in the JRE; its a standard feature in Java. You
>> will need to take the results and convert them to lowercase
>> hexadecimal representation.
>> 
>> -David Waite
>> 
>> _______________________________________________
>> jdev mailing list
>> jdev at jabber.org
>> http://mailman.jabber.org/listinfo/jdev
> 
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or
> Abroad
> http://monsterindia.rediff.com/jobs
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the JDev mailing list