I use MessageDigest
to calculate the md5 signature in my project, but during the performance test it throws an ArrayIndexOutOfBoundsException
.
I have found a few posts that suggest this is because MessageDigest
is a singleton and not thread safe. Does anyone know how I can get around this problem, or if there is an equivalent MessageDigest
class that is thread safe?