JNI's MD5 algorithm