public class MD5Util extends Object
String md5Str = MD5Util.hash("String to hash");
public static String hash(String strToHash) throws NoSuchAlgorithmException
strToHash - 需要加密的字符串NoSuchAlgorithmException - 当此加密不存在时抛出异常Copyright © 2014. All rights reserved.