Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * @(#)Byte0.java		Created at 15/5/3
  * 
  * Copyright (c) azolla.org All rights reserved.
  * Azolla PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 
  */
 package org.azolla.l.ling.lang;
 
The coder is very lazy, nothing to write for this class

Author(s):
sk@azolla.org
Since:
ADK1.0
public class Byte0
    public static final  String MD5 = "MD5";
    public static String md5(byte[] bytes)
    {
        String rtnString = null;
        try
        {
            rtnString = new BigInteger(1, MessageDigest.getInstance().digest(bytes)).toString(16);
        }
        catch (Exception e)
        {
            Log0.error(Byte0.class.e);
        }
        return rtnString;
    }
New to GrepCode? Check out our FAQ X