error in engineGetDigestLength for MessageDigest providers
R. A. Rivas Diaz
rivasdiaz@yahoo.com
Mon Nov 4 19:59:00 GMT 2002
the classes:
- gnu.java.security.provider.SHA
and
- gnu.java.security.provider.MD5
have erroneous implementation of the method
- public int engineGetDigestLength()
SHA should return 20 and MD5 should return 16. They are switched.
Can somebody please correct this?
It's easy to see the error, just look at the implementation of
engineDigest() method.
rivas.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
More information about the Java
mailing list