Here is how I initialize MessageDigest And here is how digest to get bytes for password which I later convert to string (no issue there) Now assume the password is “Password@1”. Here is the output first time (apologies for long text below) 115,83,48,-2,41,29,-99,71,-54,-53,-26,-67,-118,48,-75,77,1…
Tag: message-digest
MD5 results are different between DigestUtils and MessageDigest
I have tried to use java.security.MessageDigest or org.apache.commons.codec.digest.DigestUtils to do md5, but there comes out different results. The sample code as below: public static void main( …