SHA.java (engineGetDigestLength): Return 20.

2002-11-04  R. A. Rivas Diaz  <rivasdiaz@yahoo.com>

	* gnu/java/security/provider/SHA.java (engineGetDigestLength):
	Return 20.
	* gnu/java/security/provider/MD5.java (engineGetDigestLength):
	Return 16.

From-SVN: r58807
This commit is contained in:
R. A. Rivas Diaz
2002-11-05 04:12:04 +00:00
committed by Tom Tromey
parent 5dbc91f572
commit 9c31fc1bd6
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ public class MD5 extends MessageDigest implements Cloneable
public int engineGetDigestLength()
{
return 20;
return 16;
}
// Intialize the A,B,C,D needed for the hash