The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


Digest in java

Posted by Bharat Khillari on August 11, 2001 at 8:05 AM

Please can naybody help me out...

I have one script called digest on linux when i am passing input "bharat" to it it's giving me output : "37V7Ll82wfiT28Et1miX1A==".
When i am passing that same string to my java digest class it's giv9ing me output: "[B@3ac748".
Since i have to store that encrypted password in ldap for further authetication what is the proper way for digest please help me out?

Why the results are different?

Bharat A. Khillari


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us