MessageDigest - digest(buff,0,-1) -- eroor
Hi Friends,
I am new to security package:::
i am using this code for calculating digest
[b]
protectedstatic MessageDigest md5Obj;
int temp=0;
temp=md5Obj.digest(buff,0,buff.length);[/b]
when i am executing this code i am getting this exception....
java.security.DigestException: Digest too long.
Could any one help in describing function parameters, what value should i provide.

