Package net.jcores.jre.options

Examples of net.jcores.jre.options.Hash$MD5


*/
public class MD5Test extends TestCase
{
  public void testMD5() throws Exception
  {
    MD5 md5 = new MD5();
   
    md5.update("foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar".getBytes());
    byte[] result = md5.digest();
   
    System.out.println(StringTools.asHex(result));
  }
View Full Code Here

TOP

Related Classes of net.jcores.jre.options.Hash$MD5

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.