Manjunathagee has asked for the wisdom of the Perl Monks concerning the following question:

Hi i wanted to know the java equivalent api for perl method Digest::MD5 md5($data) since it's output is in binary i am not able to compare it with java output. so far i have this java code MessageDigest.getInstance("MD5").digest($data) which returns byte[].

Replies are listed 'Best First'.
Re: Java equivalent api for perl method Digest::MD5 md5($data)
by Laurent_R (Canon) on Oct 15, 2015 at 08:14 UTC
    If you are outputting your MD5 to binary files, it should be quite easy to verify that the files are identical, or at least to run a checksum on them. Or did I miss something?
Re: Java equivalent api for perl method Digest::MD5 md5($data)
by Anonymous Monk on Oct 15, 2015 at 06:35 UTC