02 2012 档案
摘要:最近每天晚上基本都是十点才回来,白天上班也没事干,就研究一下新公司的内部框架。刚好一不小心看到了加密的方法,就随手记下来了。public static String encIBankingPasswd(String plainTextPwd) { byte SHAS2[] = new byte[21]; byte input[] = new byte[1024]; String encPwd = null; try { Base64 b64 = new Base64(); input = pla...
阅读全文
摘要:今天递交的离职申请,没啥心思啊。。。上次上花旗面试的时候被问道list排序,果断悲剧了。。。。----------------------------------------------首先把comparator接口实现public class scorecomparator imlements comparator{ public int compara(Object arg0,Object arg1){ Student s1 = (Student)arg0; Student s2 = (Student)arg1; if(s1.score > s2....
阅读全文