Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Java equivalent api for perl method Digest::MD5 md5($data)

by Manjunathagee (Initiate)
on Oct 15, 2015 at 06:18 UTC ( [id://1144935]=perlquestion: print w/replies, xml ) Need Help??

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1144935]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-28 23:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found