Here you can find the source of newMd5MessageDigest()
@Deprecated private static MessageDigest newMd5MessageDigest()
//package com.java2s; /*// w w w .j a va2s . com * $Id$ * * Copyright 2006 University of Dundee. All rights reserved. * Use is subject to license terms supplied in LICENSE.txt */ import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class Main { @Deprecated private static MessageDigest newMd5MessageDigest() { MessageDigest md; try { md = MessageDigest.getInstance("MD5"); } catch (NoSuchAlgorithmException e) { throw new RuntimeException("Required MD5 message digest algorithm unavailable."); } md.reset(); return md; } }