[JDEV] sha1 algo

David Waite mass at akuma.org
Wed Apr 24 09:14:21 CDT 2002


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




More information about the JDev mailing list