Is there a reason you need to use MD4? MD4 is a weak hash and has been
compromised:

http://en.wikipedia.org/wiki/MD4

<http://en.wikipedia.org/wiki/MD4>Take a look at SHA1 instead.

On Mon, May 17, 2010 at 1:52 AM, Elchin <[email protected]> wrote:

> I need to calculate an MD4 has of a string for a project I am working
> on. When I try to use MD4 class from Sun, it tells me that it is not
> supported. I cannot use MessageDigest.getInstance()  because MD4 is
> not included in any standard providers. So is there a way to include
> MD4 from java.sec to my project or do I have to implement is
> separately?
>
> I am even not sure whether I will have a permission to add new
> provider as described in
>
> http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Modules-sun/security/sun/security/provider/MD4.java.htm
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan

----------------
Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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/google-appengine-java?hl=en.

Reply via email to