Re: MS Crypto API and Sun's JCE producing different MD5 MAC Results.

From: Daniel Soriano (dsoriano_at_isoco.com)
Date: 06/03/04


Date: 3 Jun 2004 03:09:55 -0700

Try to convert bytes to String, and then again in bytes:

String digestB64 = new sun.misc.BASE64Encoder().encode( (new
String(digest)).getBytes() );


Quantcast