5.SHA1加密//sha1加密publicstaticStringgetSha1(Stringstr){if(str==null||str.length()==0){returnnull;}charhexDigits[]={'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};try{MessageDigestmdTemp=MessageDigest.getInstance("SHA1");mdTemp.update...
查看全文