签名的操作:
String clearText = "abc";
java.security.MessageDigest md = java.security.MessageDigest.getInstance("MD5");
md.update(clearText.getBytes("UTF-8"));
result = md.digest();
签名的操作:
String clearText = "abc";
java.security.MessageDigest md = java.security.MessageDigest.getInstance("MD5");
md.update(clearText.getBytes("UTF-8"));
result = md.digest();